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
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSimpleSubjectUserInfo(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:SubjectUserInfoGet the name for this user.- Specified by:
getUserNamein interfaceSubjectUserInfo
-
getPrincipals
Description copied from interface:SubjectUserInfoGet the principals for this user.- Specified by:
getPrincipalsin interfaceSubjectUserInfo
-
getSubject
Description copied from interface:SubjectUserInfoReturns the subject- Specified by:
getSubjectin interfaceSubjectUserInfo
-