Class WebSocketAuthentication
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
com.finconsgroup.itserr.marketplace.usercommunication.dm.security.WebSocketAuthentication
- All Implemented Interfaces:
Serializable,Principal,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
public class WebSocketAuthentication
extends org.springframework.security.authentication.AbstractAuthenticationToken
The authentication object for Web Socket that represents the currently logged-in user.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWebSocketAuthentication(WebSocketUser user, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) -
Method Summary
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
-
Constructor Details
-
WebSocketAuthentication
public WebSocketAuthentication(@NonNull WebSocketUser user, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-
-
Method Details