|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JaasSecurityDomainMBean
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 |
getKeyStoreAlias()
Get the alias of the KeyStore. |
String |
getKeyStoreType()
KeyStore implementation type being used. |
String |
getKeyStoreURL()
Get the KeyStore database URL string. |
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 |
setKeyStoreAlias(String alias)
Set the alias of the KeyStore. |
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(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 |
---|
String getKeyStoreType()
void setKeyStoreType(String type)
String getKeyStoreURL()
void setKeyStoreURL(String storeURL) throws IOException
IOException
void setKeyStorePass(String password) throws Exception
Exception
String getKeyStoreAlias()
void setKeyStoreAlias(String alias)
String getTrustStoreType()
void setTrustStoreType(String type)
type
- - the trust store implementation typevoid setTrustStorePass(String password) throws Exception
Exception
String getTrustStoreURL()
void setTrustStoreURL(String storeURL) throws IOException
IOException
void reloadKeyAndTrustStore() throws Exception
Exception
ObjectName getManagerServiceName()
void setManagerServiceName(ObjectName jmxName)
void setSalt(String salt)
salt
- - an 8 char randomization stringvoid setIterationCount(int count)
count
- - an iteration count randomization valuebyte[] encode(byte[] secret) throws Exception
secret
- - the byte sequence to encrypt
Exception
byte[] decode(byte[] secret) throws Exception
secret
- - the byte sequence to decrypt
Exception
String encode64(byte[] secret) throws Exception
secret
- - the byte sequence to encrypt as a base64 string using
the Util.tob64() function
Exception
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 |