public interface SpnegoServiceAction 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()
Validate a service ticket
|
void |
setServiceName(String serviceName)
The Service Name
|
void |
setTicket(byte[] ticket)
Set the ticket to validate
|
void |
setUsernameServiceNameForm(boolean isUsernameServiceNameForm)
If true - sets the SPN form to "username"
If false(default) - the SPN form is "hostbased" |
void setTicket(byte[] ticket)
void setServiceName(String serviceName)
void setUsernameServiceNameForm(boolean isUsernameServiceNameForm)
isUsernameServiceNameForm
- the isUsernameServiceNameForm to setbyte[] run()
run
in interface PrivilegedAction<byte[]>
GSSContext getContext()
Copyright © 2016 JBoss by Red Hat. All rights reserved.