Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle OAuth Service
11g Release 2 (11.1.2)

E57632-01


oracle.security.idaas.oauth.resourceserver
Interface ResourceServerProfileWriter

All Known Subinterfaces:
ResourceServerProfileService, ResourceServerSecurityManager

public interface ResourceServerProfileWriter

This interface is used to create, update and delete OAuth Resource Server Profiles.


Method Summary

 void delete(ResourceServerProfileRequest resourceServerProfileRequest)
          Delete an OAuth Resource Server Profile
 ResourceServerProfile update(ResourceServerWritableProfile resourceServerWritableProfile)
          Update an OAuth Resource Server Profile
 ResourceServerProfile write(ResourceServerWritableProfile resourceServerWritableProfile)
          Create an OAuth Resource Server Profile

 

Method Detail

write

ResourceServerProfile write(ResourceServerWritableProfile resourceServerWritableProfile)
                            throws ResourceServerProfileNameAlreadyUsedException,
                                   ResourceServerProfileIdAlreadyUsedException,
                                   ResourceServerProfileServiceException
Create an OAuth Resource Server Profile
Parameters:
resourceServerWritableProfile - contains OAuth Resource Server Profile attributes
Returns:
the created resource server profile if successful
Throws:
ResourceServerProfileNameAlreadyUsedException
ResourceServerProfileIdAlreadyUsedException
ResourceServerProfileServiceException

update

ResourceServerProfile update(ResourceServerWritableProfile resourceServerWritableProfile)
                             throws ResourceServerProfileNotFoundException,
                                    ResourceServerProfileServiceException
Update an OAuth Resource Server Profile
Parameters:
resourceServerWritableProfile - contains OAuth Resource Server Profile attributes
Returns:
the updated resource server profile if successful
Throws:
ResourceServerProfileNotFoundException
ResourceServerProfileServiceException

delete

void delete(ResourceServerProfileRequest resourceServerProfileRequest)
            throws ResourceServerProfileNotFoundException,
                   ResourceServerProfileServiceException
Delete an OAuth Resource Server Profile
Parameters:
resourceServerProfileRequest - contains either id, or identity domain id and name
Throws:
ResourceServerProfileNotFoundException
ResourceServerProfileServiceException

Skip navigation links

Copyright (c) 2014,<BR/>Oracle and/or its affiliates. All Rights Reserved.
<BR/>