org.jboss.security
Interface ServerAuthenticationManager

All Superinterfaces:
AuthenticationManager, BaseSecurityManager

public interface ServerAuthenticationManager
extends AuthenticationManager

AuthenticationManager with JSR-196 Semantics

Since:
May 30, 2008
Author:
Anil.Saldhana@redhat.com

Method Summary
 boolean isValid(javax.security.auth.message.MessageInfo requestMessage, Subject clientSubject, String layer, CallbackHandler callbackHandler)
          Authenticate a Subject given the request response JSR-196(JASPI) messages
 
Methods inherited from interface org.jboss.security.AuthenticationManager
getActiveSubject, getTargetPrincipal, isValid, isValid
 
Methods inherited from interface org.jboss.security.BaseSecurityManager
getSecurityDomain
 

Method Detail

isValid

boolean isValid(javax.security.auth.message.MessageInfo requestMessage,
                Subject clientSubject,
                String layer,
                CallbackHandler callbackHandler)
Authenticate a Subject given the request response JSR-196(JASPI) messages

Parameters:
requestMessage -
clientSubject - Pre-created or null subject
layer - Message Layer for the JASPI (Optional): Default: HTTP
callbackHandler - CallbackHandler
Returns:
true if client subject is valid, false otherwise


Copyright © 2011 JBoss Inc.. All Rights Reserved.