Package org.keycloak
Class KeycloakPrincipal<T extends KeycloakSecurityContext>
- java.lang.Object
-
- org.keycloak.KeycloakPrincipal<T>
-
- All Implemented Interfaces:
Serializable
,Principal
public class KeycloakPrincipal<T extends KeycloakSecurityContext> extends Object implements Principal, Serializable
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeycloakPrincipal(String name, T context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
T
getKeycloakSecurityContext()
String
getName()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
name
protected final String name
-
context
protected final T extends KeycloakSecurityContext context
-
-