Class PrimaryPrincipal
- java.lang.Object
-
- de.businesscode.bcdui.subjectsettings.PrimaryPrincipal
-
- All Implemented Interfaces:
java.io.Serializable
public class PrimaryPrincipal extends java.lang.Object implements java.io.Serializable
A primary principal, which holds technical user id. This principal may be used by the realm in order to indicate a primary principal, seePrincipalCollection.getPrimaryPrincipal()
. TheSecurityHelper.getUserId(org.apache.shiro.subject.Subject)
handles this type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrimaryPrincipal(java.lang.String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getId()
java.lang.String
toString()
-