This class implements the common functionality required for a JAAS
server side LoginModule and implements the JBossSX standard Subject usage
pattern of storing identities and roles.
JBAS-3109:AppCallbackHandler as the default CallbackHandler in the
security module
An implementation of the JAAS CallbackHandler interface that
handles NameCallbacks, PasswordCallback, TextInputCallback
and the JBoss ByteArrayCallback.
This MUST be specified if a qop directive is sent (see above), and MUST NOT
be specified if the server did not send a qop directive in the
WWW-Authenticate header field.
A hook to allow subclasses to convert a password from the database
into a plain text string or whatever form is used for matching against
the user input.
Use reflection to create a javax.crypto.spec.SecretKeySpec to avoid
an explicit reference to SecretKeySpec so that the JCE is not needed
unless the SRP parameters indicate that encryption is needed.
Returns a server socket which uses only the specified network
interface on the local host, is bound to a the specified port,
and uses the specified connection backlog.
A JAAC Policy provider implementation that delegates any non-JACC permissions
to the java.security.Policy either passed in to the ctor, or the pre existing
Policy.getPolicy value.
An implementation of ServerSocketFactory that creates SSL server sockets
using the JSSE SSLContext and a JBossSX SecurityDomain for the KeyManagerFactory
and TrustManagerFactory objects.
An implementation of SocketFactory that creates SSL sockets using the
JSSE SSLContext and a JBossSX SecurityDomain for the KeyManagerFactory
and TrustManagerFactory objects.
A security config mbean that loads an xml login configuration using the
XMLLoginConfig.loadConfig(URL config) operation on start, and unloads
the contained login module configurations on stop.
Read a password in opaque form to a file for use with the FilePassword
accessor in conjunction with the JaasSecurityDomain
{CLASS}org.jboss.security.plugins.FilePassword:password-file
format of the KeyStorePass attribute.