Class MidpointAuthentication

    • Field Detail

      • NO_PROCESSING_MODULE_INDEX

        public static final int NO_PROCESSING_MODULE_INDEX
        See Also:
        Constant Field Values
    • Method Detail

      • setAuthModules

        public void setAuthModules​(List<AuthModule> authModules)
      • getSequenceIdentifier

        public String getSequenceIdentifier()
      • getSharedObjects

        public Map<Class<?>,​Object> getSharedObjects()
      • setSharedObjects

        public void setSharedObjects​(Map<Class<?>,​Object> sharedObjects)
      • setAuthenticationChannel

        public void setAuthenticationChannel​(AuthenticationChannel authenticationChannel)
      • getAuthorities

        public Collection<org.springframework.security.core.GrantedAuthority> getAuthorities()
        Specified by:
        getAuthorities in interface org.springframework.security.core.Authentication
        Overrides:
        getAuthorities in class org.springframework.security.authentication.AbstractAuthenticationToken
      • setAuthorities

        public void setAuthorities​(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
      • getCredentials

        public Object getCredentials()
        Specified by:
        getCredentials in interface org.springframework.security.core.Authentication
      • setCredential

        public void setCredential​(Object credential)
      • getPrincipal

        public Object getPrincipal()
        Specified by:
        getPrincipal in interface org.springframework.security.core.Authentication
      • setPrincipal

        public void setPrincipal​(Object principal)
      • setAuthenticated

        public void setAuthenticated​(boolean authenticated)
        Specified by:
        setAuthenticated in interface org.springframework.security.core.Authentication
        Overrides:
        setAuthenticated in class org.springframework.security.authentication.AbstractAuthenticationToken
      • setSessionId

        public void setSessionId​(String sessionId)
      • getSessionId

        public String getSessionId()
      • isAuthenticated

        public boolean isAuthenticated()
        Specified by:
        isAuthenticated in interface org.springframework.security.core.Authentication
        Overrides:
        isAuthenticated in class org.springframework.security.authentication.AbstractAuthenticationToken
      • isProcessing

        public boolean isProcessing()
      • getIndexOfProcessingModule

        public int getIndexOfProcessingModule​(boolean createEmptyAuthenticationIfNeeded)
      • isFinished

        public boolean isFinished()
      • getProcessingModuleAuthentication

        public ModuleAuthentication getProcessingModuleAuthentication()
      • getProcessingModuleAuthenticationIdentifier

        public String getProcessingModuleAuthenticationIdentifier()
      • isAuthenticationFailed

        public boolean isAuthenticationFailed()
      • isMerged

        public boolean isMerged()
      • setMerged

        public void setMerged​(boolean merged)
      • isOverLockoutMaxAttempts

        public boolean isOverLockoutMaxAttempts()
      • setOverLockoutMaxAttempts

        public void setOverLockoutMaxAttempts​(boolean overLockoutMaxAttempts)
      • getName

        public String getName()
        Specified by:
        getName in interface Principal
        Overrides:
        getName in class org.springframework.security.authentication.AbstractAuthenticationToken
      • getUsername

        public String getUsername()
      • getFailedReason

        public String getFailedReason()
      • getFirstFailedAuthenticationModule

        public ModuleAuthentication getFirstFailedAuthenticationModule()
      • getAuthenticationExceptionIfExsits

        public org.springframework.security.core.AuthenticationException getAuthenticationExceptionIfExsits()
      • resolveParallelModules

        public int resolveParallelModules​(javax.servlet.http.HttpServletRequest request,
                                          int actualIndex)
      • hasSucceededAuthentication

        public boolean hasSucceededAuthentication()
      • wrongConfiguredSufficientModuleExists

        public boolean wrongConfiguredSufficientModuleExists()
      • authenticationShouldBeAborted

        public boolean authenticationShouldBeAborted()
      • isAlreadyAudited

        public boolean isAlreadyAudited()
      • setAlreadyAudited

        public void setAlreadyAudited​(boolean alreadyAudited)