站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.0 bate1 API 英文版文档

SeamSecurityManager (JBoss Seam API Documentation) - JBoss Seam 1.1.0 bate1 API 英文版文档


org.jboss.seam.security
Class SeamSecurityManager

java.lang.Object
  extended by 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

Constructor Summary
SeamSecurityManager()
           
 
Method Summary
 void checkPermission(Object obj, String action)
           
 void checkPermission(String name, String action)
           
 String getLoginAction()
           
 Permissions getPermissions(Object value)
           
 Permissions getPermissions(Object value, Authentication auth)
           
 String getSecurityErrorAction()
           
static SeamSecurityManager instance()
           
 void setLoginAction(String loginAction)
           
 void setSecurityErrorAction(String securityErrorAction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeamSecurityManager

public SeamSecurityManager()
Method Detail

instance

public static SeamSecurityManager instance()

getLoginAction

public String getLoginAction()

setLoginAction

public void setLoginAction(String loginAction)

getSecurityErrorAction

public String getSecurityErrorAction()

setSecurityErrorAction

public void setSecurityErrorAction(String securityErrorAction)

checkPermission

public void checkPermission(String name,
                            String action)

checkPermission

public void checkPermission(Object obj,
                            String action)

getPermissions

public Permissions getPermissions(Object value)

getPermissions

public Permissions getPermissions(Object value,
                                  Authentication auth)