|
Oracle Fusion Middleware Java API Reference for Oracle OAuth Service 11g Release 2 (11.1.2) E57632-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceServerProfileReader
This ResourceServerProfileReader is an interface for reading OAuth Resource Server Profiles
Method Summary
ResourceServerProfile |
readResourceServerProfile(ResourceServerProfileRequest resourceServerProfileRequest) Get a Resource Server Profile by Resource Server Profile Id or Identity Domain Id and Resource Server Profile Name |
java.util.Collection<ResourceServerProfile> |
readResourceServerProfileByRequestedScope(ResourceServerProfileRequest resourceServerProfileRequest) Get a list of Resource Server Profile by the requested Scope Name The resource server profile should have only requested scope profile instead of all defined scope profiles This method would be invoked by IDM OAuth Runtime Server when a client requests for the Access Token This profile is not cached by IDM OAuth Runtime Server so, its implementation may cache resource server profiles |
java.util.Collection<ResourceServerProfile> |
readResourceServerProfiles(ResourceServerProfileRequest resourceServerProfileRequest) Get a collection of Resource Server Profile by Identity Domain Id |
Method Detail
ResourceServerProfile readResourceServerProfile(ResourceServerProfileRequest resourceServerProfileRequest) throws ResourceServerProfileNotFoundException
resourceServerProfileRequest
- - contains either profile id or identity domain id and nameResourceServerProfileNotFoundException
- - if the resource server profile is not foundjava.util.Collection<ResourceServerProfile> readResourceServerProfiles(ResourceServerProfileRequest resourceServerProfileRequest) throws ResourceServerProfileNotFoundException
resourceServerProfileRequest
- contains identity domain idResourceServerProfileNotFoundException
java.util.Collection<ResourceServerProfile> readResourceServerProfileByRequestedScope(ResourceServerProfileRequest resourceServerProfileRequest) throws ResourceServerProfileServiceException
resourceServerProfileRequest
- - contains the requested scopes and identity domain id to matchInvalidScopeException
- - if the requested scope is not validResourceServerProfileNotFoundException
- - if the identity domain is not validResourceServerProfileServiceException
- - any other cause
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |