|
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.SecurityContext
public class SecurityContext
This class has two SubjectID: Caller and Filter Subject. Filter Subject typically represents Client Application Identity. Caller Subject typiclaly represent (human) User Identity.
These two subjects may be authenticated through two different mechanisms.
An object of this class is intentionally immutable.
Constructor Summary | |
---|---|
SecurityContext(java.lang.String serviceDomain, SubjectID caller, SubjectID filterSubject) Constructor of passing, service domain, caller subject and filter subject |
|
SecurityContext(SubjectID caller, SubjectID filterSubject) Constructor of passing caller subject and filter subject |
Method Summary | |
---|---|
SubjectID |
getCaller() |
SubjectID |
getFilterSubject() |
java.lang.String |
getServiceDomain() return service domain from HTTP request This getter method may throw IllegalStateException, if service domain is not initialized. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityContext(SubjectID caller, SubjectID filterSubject)
caller
- - representing human user subject idfilterSubject
- - representing client application subject idpublic SecurityContext(java.lang.String serviceDomain, SubjectID caller, SubjectID filterSubject)
serviceDomain
- - respresenting service domain namecaller
- - representing human user subject idfilterSubject
- - representing client application subject idMethod Detail |
---|
public java.lang.String getServiceDomain()
public SubjectID getCaller()
public SubjectID getFilterSubject()
|
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 |