| org.jboss.resource.security.AbstractPasswordCredentialLoginModule org.jboss.resource.security.JaasSecurityDomainIdentityLoginModule
JaasSecurityDomainIdentityLoginModule | public class JaasSecurityDomainIdentityLoginModule extends AbstractPasswordCredentialLoginModule (Code) | | A login module for statically defining a data source username and password
that uses a password that has been ecrypted by a JaasSecurityDomain. The
base64 format of the data source password may be generated using the PBEUtils
command:
java -cp jbosssx.jar org.jboss.security.plugins.PBEUtils salt count
domain-password data-source-password
salt : the Salt attribute from the JaasSecurityDomain
count : the IterationCount attribute from the JaasSecurityDomain
domain-password : the plaintext password that maps to the KeyStorePass
attribute from the JaasSecurityDomain
data-source-password : the plaintext password for the data source that
should be encrypted with the JaasSecurityDomain password
for example:
java -cp jbosssx.jar org.jboss.security.plugins.PBEUtils abcdefgh 13 master ''
Encoded password: E5gtGMKcXPP
A sample login-config.xml configuration entry would be:
sa
E5gtGMKcXPP
jboss.jca:service=LocalTxCM,name=DefaultDS
jboss.security:service=JaasSecurityDomain,domain=ServerMasterPassword
author: Scott.Stark@jboss.org author: Noel Rocher 29, june 2004 username & userName issue version: $Revision: 57189 $ |
abort | public boolean abort()(Code) | | |
|
|