java.lang.Object
waffle.jaas.UserPrincipal
waffle.jaas.GroupPrincipal
- All Implemented Interfaces:
Serializable,Principal
Deprecated.
This class is deprecated as hiding a principal inside another principal is not JAAS compliant. Use the
Principals in the Subject to directly enroll groups or roles by name.
Group principal.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Add user principal to member.getName()Deprecated.Fully qualified username.booleanDeprecated.Is user principal a member of the group.members()Deprecated.Member enumeration.booleanremoveMember(Principal user) Deprecated.Remove user from member.toString()Deprecated.Methods inherited from class waffle.jaas.UserPrincipal
equals, hashCode
-
Constructor Details
-
GroupPrincipal
Deprecated.Instantiates a new group principal.- Parameters:
fqn- the fqn
-
-
Method Details
-
getName
Deprecated.Description copied from class:UserPrincipalFully qualified username.- Specified by:
getNamein interfacePrincipal- Overrides:
getNamein classUserPrincipal- Returns:
- the name
-
addMember
Deprecated.Add user principal to member.- Parameters:
user- principal- Returns:
- True if user principal is a member
-
isMember
Deprecated.Is user principal a member of the group.- Parameters:
user- principal- Returns:
- True if user principal is a member
-
members
-
removeMember
Deprecated.Remove user from member.- Parameters:
user- principal- Returns:
- True if user principal is removed
-
toString
-