Class MidpointAuthentication

  • All Implemented Interfaces:
    Serializable, Principal, org.springframework.security.core.Authentication, org.springframework.security.core.CredentialsContainer

    public class MidpointAuthentication
    extends org.springframework.security.authentication.AbstractAuthenticationToken
    Author:
    skublik
    See Also:
    Serialized Form
    • Method Detail

      • setAuthModules

        public void setAuthModules​(List<AuthModule> authModules)
      • 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()
      • setCredential

        public void setCredential​(Object credential)
      • getPrincipal

        public Object getPrincipal()
      • 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)
      • getProcessingModuleAuthentication

        public ModuleAuthentication getProcessingModuleAuthentication()
      • isAuthenticationFailed

        public boolean isAuthenticationFailed()
      • getName

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

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