public class NWebPrincipalSimple extends Object implements NWebPrincipal
| Constructor and Description |
|---|
NWebPrincipalSimple(NWebUser user) |
NWebPrincipalSimple(NWebUser user,
boolean root) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
<T> T |
getUser() |
String |
getUserName() |
boolean |
isAdmin() |
boolean |
isAnonymous() |
public NWebPrincipalSimple(NWebUser user)
public NWebPrincipalSimple(NWebUser user, boolean root)
public <T> T getUser()
getUser in interface NWebPrincipalpublic boolean isAdmin()
isAdmin in interface NWebPrincipalpublic String getId()
getId in interface NWebPrincipalpublic String getUserName()
getUserName in interface NWebPrincipalpublic boolean isAnonymous()
isAnonymous in interface NWebPrincipalCopyright © 2026 vpc open source initiative. All rights reserved.