org.apache.ws.security.spnego
Interface SpnegoClientAction

All Superinterfaces:
PrivilegedAction<byte[]>
All Known Implementing Classes:
DefaultSpnegoClientAction

public interface SpnegoClientAction
extends PrivilegedAction<byte[]>

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


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
 

Method Detail

setMutualAuth

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


setServiceName

void setServiceName(String serviceName)
The Service Name


run

byte[] run()
Obtain a service ticket

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

getContext

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



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