org.apache.ws.security.spnego
Class SpnegoClientAction

java.lang.Object
  extended by org.apache.ws.security.spnego.SpnegoClientAction
All Implemented Interfaces:
PrivilegedAction<byte[]>

public class SpnegoClientAction
extends Object
implements PrivilegedAction<byte[]>

This class represents a PrivilegedAction implementation to obtain a (SPNEGO) service ticket from a Kerberos Key Distribution Center.


Constructor Summary
SpnegoClientAction(String serviceName)
           
 
Method Summary
 GSSContext getContext()
           
 byte[] run()
           
 void setMutualAuth(boolean mutualAuthentication)
          Whether to enable mutual authentication or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpnegoClientAction

public SpnegoClientAction(String serviceName)
Method Detail

setMutualAuth

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


run

public byte[] run()
Specified by:
run in interface PrivilegedAction<byte[]>

getContext

public GSSContext getContext()


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.