|
||||||||||
PREV CLASS NEXT CLASS (src) | 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 (src) |
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(java.lang.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 |
java.lang.String |
encode64(byte[] secret)
Encode a secret using the keystore password and PBEwithMD5andDES algo |
java.lang.String |
getKeyStoreType()
KeyStore implementation type being used. |
java.lang.String |
getKeyStoreURL()
Get the KeyStore database URL string. |
ObjectName (src) |
getManagerServiceName()
The JMX object name string of the security manager service. |
java.lang.String |
getTrustStoreType()
Get the type of the trust store |
java.lang.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(java.lang.String password)
Set the credential string for the KeyStore. |
void |
setKeyStoreType(java.lang.String type)
Set the type of KeyStore implementation to use. |
void |
setKeyStoreURL(java.lang.String storeURL)
Set the KeyStore database URL string. |
void |
setManagerServiceName(ObjectName (src) jmxName)
Set the JMX object name string of the security manager service. |
void |
setSalt(java.lang.String salt)
Set the salt used with PBE based on the keystore password. |
void |
setTrustStorePass(java.lang.String password)
Set the credential string for the trust store. |
void |
setTrustStoreType(java.lang.String type)
Set the type of the trust store |
void |
setTrustStoreURL(java.lang.String storeURL)
Set the trust store database URL string. |
Methods inherited from interface org.jboss.system.ServiceMBean (src) |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service (src) |
create, destroy, start, stop |
Method Detail |
public java.lang.String getKeyStoreType()
public void setKeyStoreType(java.lang.String type)
public java.lang.String getKeyStoreURL()
public void setKeyStoreURL(java.lang.String storeURL) throws java.io.IOException
java.io.IOException
public void setKeyStorePass(java.lang.String password)
public java.lang.String getTrustStoreType()
public void setTrustStoreType(java.lang.String type)
type
- - the trust store implementation typepublic void setTrustStorePass(java.lang.String password)
public java.lang.String getTrustStoreURL()
public void setTrustStoreURL(java.lang.String storeURL) throws java.io.IOException
java.io.IOException
public void reloadKeyAndTrustStore() throws java.lang.Exception
java.lang.Exception
public ObjectName (src) getManagerServiceName()
public void setManagerServiceName(ObjectName (src) jmxName)
public void setSalt(java.lang.String salt)
salt
- - an 8 char randomization stringpublic void setIterationCount(int count)
count
- - an iteration count randomization valuepublic byte[] encode(byte[] secret) throws java.lang.Exception
secret
- - the byte sequence to encrypt
java.lang.Exception
public byte[] decode(byte[] secret) throws java.lang.Exception
secret
- - the byte sequence to decrypt
java.lang.Exception
public java.lang.String encode64(byte[] secret) throws java.lang.Exception
secret
- - the byte sequence to encrypt as a base64 string using
the Util.tob64() function
java.lang.Exception
public byte[] decode64(java.lang.String secret) throws java.lang.Exception
secret
- - the Util.tob64 string represention to decrypt
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |