public class DefaultSpnegoServiceAction extends Object implements SpnegoServiceAction
Constructor and Description |
---|
DefaultSpnegoServiceAction() |
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" |
public void setTicket(byte[] ticket)
setTicket
in interface SpnegoServiceAction
public void setServiceName(String serviceName)
setServiceName
in interface SpnegoServiceAction
public byte[] run()
run
in interface PrivilegedAction<byte[]>
run
in interface SpnegoServiceAction
public GSSContext getContext()
getContext
in interface SpnegoServiceAction
public void setUsernameServiceNameForm(boolean isUsernameServiceNameForm)
SpnegoServiceAction
setUsernameServiceNameForm
in interface SpnegoServiceAction
isUsernameServiceNameForm
- the isUsernameServiceNameForm to setCopyright © 2016 JBoss by Red Hat. All rights reserved.