Class SIPAuthenticationToken<T extends SIPAuthenticationToken<T>>

    • Constructor Detail

      • SIPAuthenticationToken

        public SIPAuthenticationToken()
    • Method Detail

      • withAuthenticated

        public abstract T withAuthenticated​(boolean authenticated)
        Returns a new instance of the same authentication object, but with the specified value for the authenticated field.
        Parameters:
        authenticated - indicates if the authentication object should be authenticated or not
        Returns:
        a copy of the caller authentication object with the specific value for authentication set
      • getAuthorities

        public Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
        Specified by:
        getAuthorities in interface org.springframework.security.core.Authentication
      • getCredentials

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

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

        public final boolean isAuthenticated()
        Specified by:
        isAuthenticated in interface org.springframework.security.core.Authentication
      • setAuthenticated

        public final void setAuthenticated​(boolean isAuthenticated)
                                    throws IllegalArgumentException
        Specified by:
        setAuthenticated in interface org.springframework.security.core.Authentication
        Throws:
        IllegalArgumentException