|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The JaasSecurityDomainMBean adds support for KeyStore management.
Field Summary |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Method Summary | |
byte[] |
decode(byte[] secret)
Decode a secret using the keystore password and PBEwithMD5andDES algo |
byte[] |
decode64(String secret)
Decode a secret using the keystore password and PBEwithMD5andDES algo |
byte[] |
encode(byte[] secret)
Encode a secret using the keystore password and PBEwithMD5andDES algo |
String |
encode64(byte[] secret)
Encode a secret using the keystore password and PBEwithMD5andDES algo |
String |
getKeyStoreType()
KeyStore implementation type being used. |
String |
getKeyStoreURL()
Get the KeyStore database URL string. |
javax.management.ObjectName |
getManagerServiceName()
The JMX object name string of the security manager service. |
String |
getTrustStoreType()
Get the type of the trust store |
String |
getTrustStoreURL()
Get the trust store database URL string. |
void |
reloadKeyAndTrustStore()
Reload the key- and truststore |
void |
setIterationCount(int count)
Set the iteration count used with PBE based on the keystore password. |
void |
setKeyStorePass(String password)
Set the credential string for the KeyStore. |
void |
setKeyStoreType(String type)
Set the type of KeyStore implementation to use. |
void |
setKeyStoreURL(String storeURL)
Set the KeyStore database URL string. |
void |
setManagerServiceName(javax.management.ObjectName jmxName)
Set the JMX object name string of the security manager service. |
void |
setSalt(String salt)
Set the salt used with PBE based on the keystore password. |
void |
setTrustStorePass(String password)
Set the credential string for the trust store. |
void |
setTrustStoreType(String type)
Set the type of the trust store |
void |
setTrustStoreURL(String storeURL)
Set the trust store database URL string. |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Method Detail |
public String getKeyStoreType()
public void setKeyStoreType(String type)
public String getKeyStoreURL()
public void setKeyStoreURL(String storeURL) throws IOException
IOException
public void setKeyStorePass(String password)
public String getTrustStoreType()
public void setTrustStoreType(String type)
type
- - the trust store implementation typepublic void setTrustStorePass(String password)
public String getTrustStoreURL()
public void setTrustStoreURL(String storeURL) throws IOException
IOException
public void reloadKeyAndTrustStore() throws Exception
Exception
public javax.management.ObjectName getManagerServiceName()
public void setManagerServiceName(javax.management.ObjectName jmxName)
public void setSalt(String salt)
salt
- - an 8 char randomization stringpublic void setIterationCount(int count)
count
- - an iteration count randomization valuepublic byte[] encode(byte[] secret) throws Exception
secret
- - the byte sequence to encrypt
Exception
public byte[] decode(byte[] secret) throws Exception
secret
- - the byte sequence to decrypt
Exception
public String encode64(byte[] secret) throws Exception
secret
- - the byte sequence to encrypt as a base64 string using
the Util.tob64() function
Exception
public byte[] decode64(String secret) throws Exception
secret
- - the Util.tob64 string represention to decrypt
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |