org.mule.tools.cxf.utils.security
Class XRMSpnegoClientAction

java.lang.Object
  extended by org.mule.tools.cxf.utils.security.XRMSpnegoClientAction
All Implemented Interfaces:
PrivilegedAction<byte[]>, org.apache.ws.security.spnego.SpnegoClientAction

public class XRMSpnegoClientAction
extends Object
implements org.apache.ws.security.spnego.SpnegoClientAction


Field Summary
protected  boolean mutualAuth
           
protected  GSSContext secContext
           
protected  String serviceName
           
 
Constructor Summary
XRMSpnegoClientAction(Config kerberosConfig)
           
 
Method Summary
 GSSContext getContext()
          Get the GSSContext that was created after a service ticket was obtained
 byte[] run()
          Obtain a service ticket
 void setMutualAuth(boolean mutualAuthentication)
          Whether to enable mutual authentication or not.
 void setServiceName(String serviceName)
          The Service Name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceName

protected String serviceName

secContext

protected GSSContext secContext

mutualAuth

protected boolean mutualAuth
Constructor Detail

XRMSpnegoClientAction

public XRMSpnegoClientAction(Config kerberosConfig)
Method Detail

setMutualAuth

public void setMutualAuth(boolean mutualAuthentication)
Whether to enable mutual authentication or not.

Specified by:
setMutualAuth in interface org.apache.ws.security.spnego.SpnegoClientAction

setServiceName

public void setServiceName(String serviceName)
The Service Name

Specified by:
setServiceName in interface org.apache.ws.security.spnego.SpnegoClientAction

getContext

public GSSContext getContext()
Get the GSSContext that was created after a service ticket was obtained

Specified by:
getContext in interface org.apache.ws.security.spnego.SpnegoClientAction

run

public byte[] run()
Obtain a service ticket

Specified by:
run in interface PrivilegedAction<byte[]>
Specified by:
run in interface org.apache.ws.security.spnego.SpnegoClientAction


Copyright © 2013. All Rights Reserved.