public class XRMSpnegoClientAction extends Object implements org.apache.ws.security.spnego.SpnegoClientAction
Modifier and Type | Field and Description |
---|---|
protected boolean |
mutualAuth |
protected GSSContext |
secContext |
protected String |
serviceName |
Constructor and Description |
---|
XRMSpnegoClientAction() |
Modifier and Type | Method and Description |
---|---|
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
|
protected String serviceName
protected GSSContext secContext
protected boolean mutualAuth
public void setMutualAuth(boolean mutualAuthentication)
setMutualAuth
in interface org.apache.ws.security.spnego.SpnegoClientAction
public void setServiceName(String serviceName)
setServiceName
in interface org.apache.ws.security.spnego.SpnegoClientAction
public byte[] run()
run
in interface PrivilegedAction<byte[]>
run
in interface org.apache.ws.security.spnego.SpnegoClientAction
public GSSContext getContext()
getContext
in interface org.apache.ws.security.spnego.SpnegoClientAction
Copyright © 2010–2016. All rights reserved.