org.jboss.security.negotiation.common
Class NegotiationContext

java.lang.Object
  extended by org.jboss.security.negotiation.common.NegotiationContext

public class NegotiationContext
extends Object

The NegotiationContext is the holder to contain the state of the current authentication process and is used to transfer data between the authenticator valve and the login module.

Version:
$Revision: 79237 $
Author:
darran.lofthouse@jboss.com

Constructor Summary
NegotiationContext()
           
 
Method Summary
 void associate()
           
 void clear()
          Clear any information that is not required to be retained between invocations.
 String getAuthenticationMethod()
           
static NegotiationContext getCurrentNegotiationContext()
           
 NegotiationMessage getRequestMessage()
           
 NegotiationMessage getResponseMessage()
           
 Object getSchemeContext()
           
 boolean isAuthenticated()
           
 void setAuthenticated(boolean authenticated)
           
 void setAuthenticationMethod(String authenticationMethod)
           
 void setRequestMessage(NegotiationMessage requestMessage)
           
 void setResponseMessage(NegotiationMessage responseMessage)
           
 void setSchemeContext(Object schemeContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NegotiationContext

public NegotiationContext()
Method Detail

getCurrentNegotiationContext

public static NegotiationContext getCurrentNegotiationContext()

associate

public void associate()

clear

public void clear()
Clear any information that is not required to be retained between invocations.


isAuthenticated

public boolean isAuthenticated()

setAuthenticated

public void setAuthenticated(boolean authenticated)

getAuthenticationMethod

public String getAuthenticationMethod()

setAuthenticationMethod

public void setAuthenticationMethod(String authenticationMethod)

getRequestMessage

public NegotiationMessage getRequestMessage()

setRequestMessage

public void setRequestMessage(NegotiationMessage requestMessage)

getResponseMessage

public NegotiationMessage getResponseMessage()

setResponseMessage

public void setResponseMessage(NegotiationMessage responseMessage)

getSchemeContext

public Object getSchemeContext()

setSchemeContext

public void setSchemeContext(Object schemeContext)


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.