Package com.wavemaker.runtime.security
Class WMAuthentication
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
com.wavemaker.runtime.security.AbstractMutableAuthoritiesAuthenticationToken
com.wavemaker.runtime.security.WMAuthentication
- All Implemented Interfaces:
Serializable,Principal,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
Created by srujant on 13/8/18.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWMAuthentication(org.springframework.security.core.Authentication authenticationSource) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(String key, Object value, Attribute.AttributeScope scope) org.springframework.security.core.AuthenticationlongvoidsetAuthProviderType(AuthProviderType authProviderType) voidsetLoginTime(long loginTime) voidMethods inherited from class com.wavemaker.runtime.security.AbstractMutableAuthoritiesAuthenticationToken
equals, getAuthorities, hashCode, setAuthoritiesMethods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
eraseCredentials, getDetails, getName, isAuthenticated, setAuthenticated, setDetails, toString
-
Constructor Details
-
WMAuthentication
public WMAuthentication(org.springframework.security.core.Authentication authenticationSource)
-
-
Method Details
-
getCredentials
-
getPrincipal
-
getAttributes
-
setUserId
-
getUserId
-
getAuthenticationSource
public org.springframework.security.core.Authentication getAuthenticationSource() -
getLoginTime
public long getLoginTime() -
setLoginTime
public void setLoginTime(long loginTime) -
getAuthProviderType
-
setAuthProviderType
-
addAttribute
-