Package com.appslandia.plum.base
Class DefaultPrincipal
- java.lang.Object
-
- javax.security.enterprise.CallerPrincipal
-
- com.appslandia.plum.base.UserPrincipal
-
- com.appslandia.plum.base.DefaultPrincipal
-
- All Implemented Interfaces:
Principal
public class DefaultPrincipal extends UserPrincipal
- Author:
- Loc Ha
-
-
Constructor Summary
Constructors Constructor Description DefaultPrincipal(int userId, String userName, String displayName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName()intgetUserId()-
Methods inherited from class com.appslandia.plum.base.UserPrincipal
getModule, getReauthAt, isRememberMe
-
-
-
-
Method Detail
-
getUserId
public int getUserId()
- Overrides:
getUserIdin classUserPrincipal
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayNamein classUserPrincipal
-
-