Package org.jboss.security.client
Class SecurityClientFactory
- java.lang.Object
-
- org.jboss.security.client.SecurityClientFactory
-
public class SecurityClientFactory extends Object
Factory to return SecurityClient instances- Since:
- May 1, 2007
- Version:
- $Revision$
- Author:
- Anil.Saldhana@redhat.com
-
-
Constructor Summary
Constructors Constructor Description SecurityClientFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SecurityClient
getSecurityClient()
Return the default Security Client The default Security Client is of type "org.jboss.security.client.JBossSecurityClient"static SecurityClient
getSecurityClient(Class<?> clazz)
Obtain a Security Clientstatic SecurityClient
getSecurityClient(String client)
Return a security client of type
-
-
-
Method Detail
-
getSecurityClient
public static SecurityClient getSecurityClient() throws Exception
Return the default Security Client The default Security Client is of type "org.jboss.security.client.JBossSecurityClient"- Returns:
- Throws:
Exception
-
getSecurityClient
public static SecurityClient getSecurityClient(String client) throws Exception
Return a security client of type- Parameters:
client
- FQN of the security client implementation- Returns:
- Throws:
Exception
-
getSecurityClient
public static SecurityClient getSecurityClient(Class<?> clazz) throws Exception
Obtain a Security Client- Parameters:
clazz
- Class object that is of SecurityClient Type- Returns:
- Throws:
Exception
-
-