Class WMAuthentication

java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
All Implemented Interfaces:
Serializable, Principal, org.springframework.security.core.Authentication, org.springframework.security.core.CredentialsContainer

public class WMAuthentication extends AbstractMutableAuthoritiesAuthenticationToken
Created by srujant on 13/8/18.
See Also:
  • Constructor Details

    • WMAuthentication

      public WMAuthentication(org.springframework.security.core.Authentication authenticationSource)
  • Method Details

    • getCredentials

      public Object getCredentials()
    • getPrincipal

      public String getPrincipal()
    • getAttributes

      public Map<String,Attribute> getAttributes()
    • setUserId

      public void setUserId(String userId)
    • getUserId

      public String getUserId()
    • getAuthenticationSource

      public org.springframework.security.core.Authentication getAuthenticationSource()
    • getLoginTime

      public long getLoginTime()
    • setLoginTime

      public void setLoginTime(long loginTime)
    • getAuthProviderType

      public AuthProviderType getAuthProviderType()
    • setAuthProviderType

      public void setAuthProviderType(AuthProviderType authProviderType)
    • addAttribute

      public void addAttribute(String key, Object value, Attribute.AttributeScope scope)