|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.config.SecurityConfiguration
public class SecurityConfiguration
Class that provides the Configuration for authentication, authorization, mapping info etc It also holds the information like JSSE keystores, keytypes and other crypto configuration
Constructor Summary | |
---|---|
SecurityConfiguration()
|
Method Summary | |
---|---|
static void |
addApplicationPolicy(ApplicationPolicy aP)
Add an application policy |
static ApplicationPolicy |
getApplicationPolicy(String policyName)
Get an application policy |
static String |
getCipherAlgorithm()
|
static Key |
getCipherKey()
|
static AlgorithmParameterSpec |
getCipherSpec()
|
static int |
getIterationCount()
|
static String |
getKeyStorePass()
Get the credential string for the KeyStore. |
static String |
getKeyStoreType()
KeyStore implementation type being used. |
static String |
getKeyStoreURL()
Get the KeyStore database URL string. |
static String |
getSalt()
|
static String |
getTrustStorePass()
Set the credential string for the trust store. |
static String |
getTrustStoreType()
Get the type of the trust store |
static String |
getTrustStoreURL()
Get the trust store database URL string. |
static boolean |
isDeepCopySubjectMode()
|
static void |
removeApplicationPolicy(String name)
Remove the Application Policy |
static void |
setCipherAlgorithm(String ca)
|
static void |
setCipherKey(Key ca)
|
static void |
setCipherSpec(AlgorithmParameterSpec aps)
|
static void |
setDeepCopySubjectMode(boolean dcsm)
|
static void |
setIterationCount(int count)
Set the iteration count used with PBE based on the keystore password. |
static void |
setKeyStorePass(String password)
Set the credential string for the KeyStore. |
static void |
setKeyStoreType(String type)
Set the type of KeyStore implementation to use. |
static void |
setKeyStoreURL(String storeURL)
Set the KeyStore database URL string. |
static void |
setSalt(String s)
Set the salt used with PBE based on the keystore password. |
static void |
setTrustStorePass(String password)
Set the credential string for the trust store. |
static void |
setTrustStoreType(String type)
Set the type of the trust store |
static void |
setTrustStoreURL(String storeURL)
Set the trust store database URL string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityConfiguration()
Method Detail |
---|
public static void addApplicationPolicy(ApplicationPolicy aP)
aP
- Application Policypublic static void removeApplicationPolicy(String name)
name
- Name of the Policypublic static ApplicationPolicy getApplicationPolicy(String policyName)
policyName
- Name of the Policy (such as "other", "messaging")
public static String getCipherAlgorithm()
public static void setCipherAlgorithm(String ca)
public static Key getCipherKey()
public static void setCipherKey(Key ca)
public static AlgorithmParameterSpec getCipherSpec()
public static void setCipherSpec(AlgorithmParameterSpec aps)
public static int getIterationCount()
public static void setIterationCount(int count)
count
- - an iteration count randomization valuepublic static String getSalt()
public static void setSalt(String s)
salt
- - an 8 char randomization stringpublic static String getKeyStoreType()
public static void setKeyStoreType(String type)
public static String getKeyStoreURL()
public static void setKeyStoreURL(String storeURL)
public static String getKeyStorePass()
public static void setKeyStorePass(String password)
public static String getTrustStoreType()
public static void setTrustStoreType(String type)
type
- - the trust store implementation typepublic static String getTrustStorePass()
public static void setTrustStorePass(String password)
public static String getTrustStoreURL()
public static void setTrustStoreURL(String storeURL)
public static boolean isDeepCopySubjectMode()
public static void setDeepCopySubjectMode(boolean dcsm)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |