org.jboss.security.auth.container.modules
Class AllFailureServerAuthModule

java.lang.Object
  extended by org.jboss.security.auth.container.modules.AbstractServerAuthModule
      extended by org.jboss.security.auth.container.modules.AllFailureServerAuthModule
All Implemented Interfaces:
javax.security.auth.message.module.ServerAuthModule, javax.security.auth.message.ServerAuth

public class AllFailureServerAuthModule
extends AbstractServerAuthModule

Server Auth Module that sends a AuthStatus.FAILURE

Author:
Anil.Saldhana@redhat.com

Field Summary
 
Fields inherited from class org.jboss.security.auth.container.modules.AbstractServerAuthModule
callbackHandler, log, options, requestPolicy, responsePolicy, supportedTypes
 
Constructor Summary
AllFailureServerAuthModule()
           
 
Method Summary
 Class[] getSupportedMessageTypes()
           
 javax.security.auth.message.AuthStatus secureResponse(javax.security.auth.message.MessageInfo arg0, Subject arg1)
           
protected  boolean validate(Subject clientSubject, javax.security.auth.message.MessageInfo messageInfo)
          Subclasses have to implement this method to actually validate the subject
 
Methods inherited from class org.jboss.security.auth.container.modules.AbstractServerAuthModule
cleanSubject, getCallbackHandler, initialize, setCallbackHandler, validateRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllFailureServerAuthModule

public AllFailureServerAuthModule()
Method Detail

validate

protected boolean validate(Subject clientSubject,
                           javax.security.auth.message.MessageInfo messageInfo)
                    throws javax.security.auth.message.AuthException
Description copied from class: AbstractServerAuthModule
Subclasses have to implement this method to actually validate the subject

Specified by:
validate in class AbstractServerAuthModule
Returns:
Throws:
javax.security.auth.message.AuthException

secureResponse

public javax.security.auth.message.AuthStatus secureResponse(javax.security.auth.message.MessageInfo arg0,
                                                             Subject arg1)
                                                      throws javax.security.auth.message.AuthException
Throws:
javax.security.auth.message.AuthException

getSupportedMessageTypes

public Class[] getSupportedMessageTypes()
Specified by:
getSupportedMessageTypes in interface javax.security.auth.message.module.ServerAuthModule
Overrides:
getSupportedMessageTypes in class AbstractServerAuthModule
See Also:
ServerAuthModule.getSupportedMessageTypes()


Copyright © 2009 JBoss Inc.. All Rights Reserved.