|
Oracle Fusion Middleware Java API Reference for Oracle Access Management Mobile and Social | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.security.idaas.rest.common.SubjectID<V>
public class SubjectID<V>
SubjectID represents unique opaque value, which identifies the client or user identity and can be used to test on a particular subject identity has a resource privilege.
Variant types of SubjectID includes token and usercredential (e.g. uid/passwd).
This class is intended to be immutable.
| Nested Class Summary | |
|---|---|
static class |
SubjectID.TypeEnumeration for SubjectID Type. |
| Constructor Summary | |
|---|---|
SubjectID(SubjectID.Type type, V value)Default Token Constructor with subjectid type and value |
|
| Method Summary | |
|---|---|
java.lang.String |
getPrincipal()getPrincipal returns the principal of subject identifier from SubjectID. |
SubjectID.Type |
getType()getType returns SubjectIdType from SubjectId. |
V |
getValue()getValue returns the value of subject identifier from SubjectID. |
java.lang.String |
toString()The value returned by this "toString()" method may change in future. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SubjectID(SubjectID.Type type,
V value)
| Method Detail |
|---|
public SubjectID.Type getType()
getType returns SubjectIdType from SubjectId.SubjectIdType that is one of TOKEN or UIDpublic V getValue()
getValue returns the value of subject identifier from SubjectID.public java.lang.String getPrincipal()
getPrincipal returns the principal of subject identifier from SubjectID.public java.lang.String toString()
toString in class java.lang.Object
|
Copyright (c) 2012, Oracle All Rights Reserved. Built 06/05/2012 17:18:07 PDT |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||