Skip navigation links

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

E14658-01


oracle.security.idm
Interface Identity

All Known Subinterfaces:
Role, RoleProfile, User, UserProfile

public interface Identity

Interface representing a basic identity in the identity repository.

Since:
10.1.3

Method Summary
 java.lang.String getDisplayName()
          Returns display name of this Identity.
 java.lang.String getGUID()
          Get the global unique identifier for this identity.
 java.lang.String getName()
          Returns the name of this Identity.
 java.security.Principal getPrincipal()
          Returns the java.security.Principal object representing this Identity.
 java.lang.String getUniqueName()
          Gets the unique name for this identity.

 

Method Detail

getDisplayName

java.lang.String getDisplayName()
                                throws IMException
Returns display name of this Identity.
Throws:
IMException - Thrown by the service provider in case of any problem

getName

java.lang.String getName()
                         throws IMException
Returns the name of this Identity. Some user/role repositories allow for multiple identities to have the same name. However such identities will have different "UniqueName"s.
Throws:
IMException - Thrown by the service provider in case of any problem
See Also:
getUniqueName()

getUniqueName

java.lang.String getUniqueName()
                               throws IMException
Gets the unique name for this identity. It is the name with which Identity is uniquely represented in the underlying store. Depending upon the underlying store unique name might be subject to change if Identity information is changed.
Throws:
IMException - Thrown by the service provider in case of any problem

getGUID

java.lang.String getGUID()
                         throws IMException
Get the global unique identifier for this identity. GUID uniquely represents a Identity in a given store. It always remains the same irrespective of any changes to the Identity.
Throws:
IMException - Thrown by the service provider in case of any problem

getPrincipal

java.security.Principal getPrincipal()
                                     throws IMException
Returns the java.security.Principal object representing this Identity.
Throws:
IMException - Thrown by the service provider in case of any problem

Skip navigation links

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

E14658-01


Copyright © 2005, 2009, Oracle. All rights reserved.