org.apache.ws.security.spnego
Class SpnegoClientAction
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpnegoClientAction
public SpnegoClientAction(String serviceName)
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.