Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-06


oracle.security.jps.callback
Class TokenCallback

java.lang.Object
  extended by oracle.security.jps.callback.TokenCallback

All Implemented Interfaces:
javax.security.auth.callback.Callback, JpsCallback

public class TokenCallback
extends java.lang.Object
implements JpsCallback

Constructor Summary
TokenCallback()
          Creates a TokenCallback

 

Method Summary
 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

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

TokenCallback

public TokenCallback()
Creates a TokenCallback

Method Detail

getCallbackType

public JpsCallbackType getCallbackType()
Specified by:
getCallbackType in interface JpsCallback
Returns:
JpsCallbackType.JPS_TOKEN_CALLBACK

getTokenType

public java.lang.String getTokenType()
Returns:
name of this token type

getToken

public java.lang.Object getToken()
Returns:
the token object

setToken

public 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". This may result in a SecurityException if security is enabled and security policy is not configured.
Parameters:
token -

setTokenType

public void setTokenType(java.lang.String tokenType)
sets the type of token for this callback
Parameters:
tokenType -

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-06


Copyright © 2013 Oracle. All rights reserved.