Apache CXF API

org.apache.cxf.transport.http.auth
Class AbstractSpnegoAuthSupplier

java.lang.Object
  extended by org.apache.cxf.transport.http.auth.AbstractSpnegoAuthSupplier
Direct Known Subclasses:
KerberosAuthOutInterceptor, SpnegoAuthSupplier

public abstract class AbstractSpnegoAuthSupplier
extends Object


Field Summary
protected static Logger LOG
           
 
Constructor Summary
AbstractSpnegoAuthSupplier()
           
 
Method Summary
 String getAuthorization(AuthorizationPolicy authPolicy, URI currentURI, Message message)
           
protected  String getCompleteServicePrincipalName(URI currentURI)
           
 CallbackHandler getUsernamePasswordHandler(String username, String password)
           
protected  boolean isCredDelegationRequired(Message message)
           
 void setCredDelegation(boolean delegation)
           
 void setLoginConfig(Configuration config)
           
 void setRealm(String realm)
           
 void setServicePrincipalName(String servicePrincipalName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final Logger LOG
Constructor Detail

AbstractSpnegoAuthSupplier

public AbstractSpnegoAuthSupplier()
Method Detail

getAuthorization

public String getAuthorization(AuthorizationPolicy authPolicy,
                               URI currentURI,
                               Message message)

isCredDelegationRequired

protected boolean isCredDelegationRequired(Message message)

getCompleteServicePrincipalName

protected String getCompleteServicePrincipalName(URI currentURI)

setServicePrincipalName

public void setServicePrincipalName(String servicePrincipalName)

setRealm

public void setRealm(String realm)

getUsernamePasswordHandler

public CallbackHandler getUsernamePasswordHandler(String username,
                                                  String password)

setCredDelegation

public void setCredDelegation(boolean delegation)

setLoginConfig

public void setLoginConfig(Configuration config)

Apache CXF API

Apache CXF