org.jboss.security.javaee
Class SecurityHelperFactory

java.lang.Object
  extended by 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
SecurityHelperFactory()
           
 
Method Summary
static EJBAuthenticationHelper getEJBAuthenticationHelper(SecurityContext sc)
          Get the EJB Authentication Helper given a security context
static AbstractEJBAuthorizationHelper getEJBAuthorizationHelper(SecurityContext sc)
          Get the EJB Authorization Helper given a security context
static AbstractWebAuthorizationHelper getWebAuthorizationHelper(SecurityContext sc)
          Get the Web Authorization Helper given a security context
static void setEJBAuthorizationHelperClass(String fqn)
          Set the FQN of the ejb authorization helper class
static void setWebAuthorizationHelperClass(String fqn)
          Set the FQN of the web authorization helper class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityHelperFactory

public SecurityHelperFactory()
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 -


Copyright © 2009 JBoss Inc.. All Rights Reserved.