Package org.jboss.security.javaee
Class SecurityHelperFactory
- java.lang.Object
-
- org.jboss.security.javaee.SecurityHelperFactory
-
public class SecurityHelperFactory extends Object
Factory to get to the helpers- Since:
- Apr 18, 2008
- Version:
- $Revision$
- Author:
- Anil.Saldhana@redhat.com
-
-
Constructor Summary
Constructors Constructor Description SecurityHelperFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EJBAuthenticationHelper
getEJBAuthenticationHelper(SecurityContext sc)
Get the EJB Authentication Helper given a security contextstatic AbstractEJBAuthorizationHelper
getEJBAuthorizationHelper(SecurityContext sc)
Get the EJB Authorization Helper given a security contextstatic AbstractWebAuthorizationHelper
getWebAuthorizationHelper(SecurityContext sc)
Get the Web Authorization Helper given a security contextstatic void
setEJBAuthorizationHelperClass(String fqn)
Set the FQN of the ejb authorization helper classstatic void
setWebAuthorizationHelperClass(String fqn)
Set the FQN of the web authorization helper class
-
-
-
Method Detail
-
getEJBAuthenticationHelper
public static EJBAuthenticationHelper getEJBAuthenticationHelper(SecurityContext sc)
Get the EJB Authentication Helper given a security context- Parameters:
sc
-- Returns:
-
getWebAuthorizationHelper
public static AbstractWebAuthorizationHelper getWebAuthorizationHelper(SecurityContext sc) throws Exception
Get the Web Authorization Helper given a security context- Parameters:
sc
-- Returns:
- Throws:
Exception
-
getEJBAuthorizationHelper
public static AbstractEJBAuthorizationHelper getEJBAuthorizationHelper(SecurityContext sc) throws Exception
Get the EJB Authorization Helper given a security context- Parameters:
sc
-- Returns:
- Throws:
Exception
-
setEJBAuthorizationHelperClass
public static void setEJBAuthorizationHelperClass(String fqn)
Set the FQN of the ejb authorization helper class- Parameters:
fqn
-
-
setWebAuthorizationHelperClass
public static void setWebAuthorizationHelperClass(String fqn)
Set the FQN of the web authorization helper class- Parameters:
fqn
-
-
-