当前页面:
在线文档首页 >
JBoss Seam 1.1.0 cr1 API 英文版文档
SeamSecurityManager (JBoss Seam API Documentation) - JBoss Seam 1.1.0 cr1 API 英文版文档
org.jboss.seam.security
Class SeamSecurityManager
java.lang.Object
org.jboss.seam.security.SeamSecurityManager
@Scope(value=APPLICATION)
@Name(value="org.jboss.seam.securityManager")
@Intercept(value=NEVER)
public class SeamSecurityManager
- extends Object
Holds configuration settings and provides functionality for the security API
- Author:
- Shane Bryzak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeamSecurityManager
public SeamSecurityManager()
instance
public static SeamSecurityManager instance()
getLoginAction
public String getLoginAction()
setLoginAction
public void setLoginAction(String loginAction)
getSecurityErrorAction
public String getSecurityErrorAction()
getIdentityGenerator
public IdentityGenerator getIdentityGenerator()
setIdentityGenerator
public void setIdentityGenerator(IdentityGenerator identityGenerator)
setSecurityErrorAction
public void setSecurityErrorAction(String securityErrorAction)
checkPermission
public void checkPermission(String permissionName,
String action)
checkPermission
public void checkPermission(Object obj,
String action)
getPermissionHandler
protected PermissionHandler getPermissionHandler(Class cls)
getPermissions
public Permissions getPermissions(Object value)
getPermissions
public Permissions getPermissions(Object value,
Authentication auth)
getObjectIdentity
public String getObjectIdentity(Object obj)
grantPermission
public void grantPermission(Object target,
String action,
String recipient,
AclProvider.RecipientType recipientType)
revokePermission
public void revokePermission(Object target,
String action,
String recipient,
AclProvider.RecipientType recipientType)