public class SecurityConfiguration extends Object
Constructor and Description |
---|
SecurityConfiguration() |
Modifier and Type | Method and Description |
---|---|
static void |
addApplicationPolicy(ApplicationPolicy applicationPolicy)
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.
|
public static void addApplicationPolicy(ApplicationPolicy applicationPolicy)
applicationPolicy
- 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)
s
- - 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)
Copyright © 2018 JBoss by Red Hat. All rights reserved.