public class TokenCallback extends java.lang.Object implements JpsCallback
| Constructor and Description |
|---|
TokenCallback()
Creates a TokenCallback
|
| Modifier and Type | Method and Description |
|---|---|
JpsCallbackType |
getCallbackType() |
java.lang.Object |
getToken() |
java.lang.String |
getTokenType() |
void |
setToken(java.lang.Object token)
associates a token with this callback This method uses
JpsAuth to check if the caller has JpsPermission "IdentityAssertion", "execute". |
void |
setTokenType(java.lang.String tokenType)
sets the type of token for this callback
|
public JpsCallbackType getCallbackType()
getCallbackType in interface JpsCallbackJpsCallbackType.JPS_TOKEN_CALLBACKpublic java.lang.String getTokenType()
public java.lang.Object getToken()
public void setToken(java.lang.Object token)
JpsAuth to check if the caller has JpsPermission "IdentityAssertion", "execute". This may result in a SecurityException if security is enabled and security policy is not configured.token -public void setTokenType(java.lang.String tokenType)
tokenType -