public class SecurityUtilsBean extends Object
Constructor and Description |
---|
SecurityUtilsBean() |
Modifier and Type | Method and Description |
---|---|
Object |
getPrimaryPrincipal()
Wrapper for ShiroUtils.getPrimaryPrincipal(Subject)
|
Object |
getPrincipal(int index)
Wrapper for ShiroUtils.getPrincipal(Subject, int)
|
SecurityManager |
getSecurityManager()
Wrapper for SecurityUtils.getSecurityManager()
|
Subject |
getSubject()
Wrapper for SecurityUtils.getSubject()
|
Serializable |
getUserId() |
public static final String copyright
public Subject getSubject()
public Serializable getUserId()
public SecurityManager getSecurityManager()
public Object getPrimaryPrincipal()
public Object getPrincipal(int index)