Class HybrisCurrentlyAdminstratingVoter

  • All Implemented Interfaces:
    org.springframework.security.access.AccessDecisionVoter<java.lang.Object>

    public class HybrisCurrentlyAdminstratingVoter
    extends java.lang.Object
    implements org.springframework.security.access.AccessDecisionVoter<java.lang.Object>
    Voter used for bypassing a DB based authentication in case there is already pending initialization or update.
    Since:
    4.4
    • Field Summary

      • Fields inherited from interface org.springframework.security.access.AccessDecisionVoter

        ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean supports​(java.lang.Class clazz)  
      boolean supports​(org.springframework.security.access.ConfigAttribute attribute)  
      int vote​(org.springframework.security.core.Authentication authentication, java.lang.Object object, java.util.Collection<org.springframework.security.access.ConfigAttribute> config)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HybrisCurrentlyAdminstratingVoter

        public HybrisCurrentlyAdminstratingVoter()
    • Method Detail

      • supports

        public boolean supports​(org.springframework.security.access.ConfigAttribute attribute)
        Specified by:
        supports in interface org.springframework.security.access.AccessDecisionVoter<java.lang.Object>
        See Also:
        AccessDecisionVoter.supports(org.springframework.security.access.ConfigAttribute)
      • supports

        public boolean supports​(java.lang.Class clazz)
        Specified by:
        supports in interface org.springframework.security.access.AccessDecisionVoter<java.lang.Object>
        See Also:
        AccessDecisionVoter.supports(java.lang.Class)
      • vote

        public int vote​(org.springframework.security.core.Authentication authentication,
                        java.lang.Object object,
                        java.util.Collection<org.springframework.security.access.ConfigAttribute> config)
        Specified by:
        vote in interface org.springframework.security.access.AccessDecisionVoter<java.lang.Object>
        See Also:
        AccessDecisionVoter.vote(org.springframework.security.core.Authentication, java.lang.Object, java.util.Collection)