fr.cnes.sitools.security.authorization
Class AuthorizationResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.security.authorization.AbstractAuthorizationResource
fr.cnes.sitools.security.authorization.AuthorizationResource
public final class AuthorizationResource
- extends AbstractAuthorizationResource
Resource for managing (GET/PUT/DELETE) single ResourceAuthorization.
- Author:
- jp.boignard (AKKA Technologies)
Method Summary |
org.restlet.representation.Representation |
deleteResourceAuthorization(org.restlet.representation.Variant variant)
Delete authorization |
void |
describeDelete(org.restlet.ext.wadl.MethodInfo info)
|
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
|
void |
describePut(org.restlet.ext.wadl.MethodInfo info)
|
org.restlet.representation.Representation |
retrieveResourceAuthorization(org.restlet.representation.Variant variant)
Gets an authorization by ID |
void |
sitoolsDescribe()
Method implementation mandatory |
org.restlet.representation.Representation |
updateResourceAuthorization(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Update / Validate existing authorization |
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, getNotificationObject, getRepresentation, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthorizationResource
public AuthorizationResource()
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class:
AbstractSitoolsResource
- Method implementation mandatory
- Specified by:
sitoolsDescribe
in class AbstractSitoolsResource
retrieveResourceAuthorization
@Get
public org.restlet.representation.Representation retrieveResourceAuthorization(org.restlet.representation.Variant variant)
- Gets an authorization by ID
- Parameters:
variant
- client preferred media type
- Returns:
- Response Representation of ResourceAuthorization(s)
describeGet
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
updateResourceAuthorization
@Put
public org.restlet.representation.Representation updateResourceAuthorization(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
- Update / Validate existing authorization
- Parameters:
representation
- ResourceAuthorization Representationvariant
- Variant client preferred media type
- Returns:
- Representation
describePut
public void describePut(org.restlet.ext.wadl.MethodInfo info)
deleteResourceAuthorization
@Delete
public org.restlet.representation.Representation deleteResourceAuthorization(org.restlet.representation.Variant variant)
- Delete authorization
- Parameters:
variant
- client preferred media type
- Returns:
- Representation
describeDelete
public void describeDelete(org.restlet.ext.wadl.MethodInfo info)
Copyright © 2010-2013 CNES. All Rights Reserved.