public interface SpnegoClientAction extends PrivilegedAction<byte[]>
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
|
void |
setUserNameServiceForm(boolean isUsernameServiceNameForm)
If true - sets the SPN form to "username"
If false(default) - the SPN form is "hostbased" |
void setMutualAuth(boolean mutualAuthentication)
void setServiceName(String serviceName)
void setUserNameServiceForm(boolean isUsernameServiceNameForm)
isUsernameServiceNameForm
- the isUsernameServiceNameForm to setbyte[] run()
run
in interface PrivilegedAction<byte[]>
GSSContext getContext()
Copyright © 2017 JBoss by Red Hat. All rights reserved.