org.apache.ws.security.spnego
Interface SpnegoServiceAction

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

public interface SpnegoServiceAction
extends PrivilegedAction<byte[]>

This interface represents a PrivilegedAction implementation to validate a received (SPNEGO) ticket to a KDC.


Method Summary
 GSSContext getContext()
          Get the GSSContext that was created after a service ticket was obtained
 byte[] run()
          Validate a service ticket
 void setServiceName(String serviceName)
          The Service Name
 void setTicket(byte[] ticket)
          Set the ticket to validate
 

Method Detail

setTicket

void setTicket(byte[] ticket)
Set the ticket to validate


setServiceName

void setServiceName(String serviceName)
The Service Name


run

byte[] run()
Validate 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-2013 The Apache Software Foundation. All Rights Reserved.