Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


oracle.iam.rm.server_api
Interface IdentityToken

All Superinterfaces:
java.io.Serializable

public interface IdentityToken
extends java.io.Serializable

A token that represents an authenticated user.


Method Summary
 byte[] getKey()
          Gets the opaque key to use for state refresh purposes.
 java.util.Locale getLocale()
          Gets the Locale that the user wants to use.
 java.lang.String getPresentationName()
          Gets the local copy of the presentation name (displayName) for this identity.
 void setLocale(java.util.Locale locale)
          Sets the Locale that the user wants to use.
 void update(java.lang.Object identityTokenData)
          Updates the internal state of the IdentityToken based on the data returned from the server using the key from getKey().

 

Method Detail

getPresentationName

java.lang.String getPresentationName()
Gets the local copy of the presentation name (displayName) for this identity.
Returns:
The display name of this identity.

getKey

byte[] getKey()
Gets the opaque key to use for state refresh purposes.
Returns:
byte array representing the key for state refresh purposes.

update

void update(java.lang.Object identityTokenData)
Updates the internal state of the IdentityToken based on the data returned from the server using the key from getKey().
Parameters:
identityTokenData - updated state

getLocale

java.util.Locale getLocale()
Gets the Locale that the user wants to use.
Returns:
Locale that the user wants to use.

setLocale

void setLocale(java.util.Locale locale)
Sets the Locale that the user wants to use.
Parameters:
locale - Locale to use

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


Copyright © 2008, 2009 Oracle. All Rights Reserved.