Class SimpleSubjectUserInfo
java.lang.Object
org.infinispan.server.core.security.simple.SimpleSubjectUserInfo
- All Implemented Interfaces:
SubjectUserInfo
@SerializeWith(Externalizer.class)
public class SimpleSubjectUserInfo
extends Object
implements SubjectUserInfo
SimpleSubjectUserInfo.
- Since:
- 7.0
- Author:
- Tristan Tarrant
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionSimpleSubjectUserInfo
(String userName, Subject subject) SimpleSubjectUserInfo
(Subject subject) -
Method Summary
Modifier and TypeMethodDescriptionGet the principals for this user.Returns the subjectGet the name for this user.
-
Constructor Details
-
SimpleSubjectUserInfo
-
SimpleSubjectUserInfo
-
-
Method Details
-
getUserName
Description copied from interface:SubjectUserInfo
Get the name for this user.- Specified by:
getUserName
in interfaceSubjectUserInfo
-
getPrincipals
Description copied from interface:SubjectUserInfo
Get the principals for this user.- Specified by:
getPrincipals
in interfaceSubjectUserInfo
-
getSubject
Description copied from interface:SubjectUserInfo
Returns the subject- Specified by:
getSubject
in interfaceSubjectUserInfo
-