|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.cnes.sitools.security.authorization.client.ResourceAuthorization
public final class ResourceAuthorization
TODO renommer package ou classes en dto
Constructor Summary | |
---|---|
ResourceAuthorization()
Default constructor |
Method Summary | |
---|---|
java.util.ArrayList<RoleAndMethodsAuthorization> |
getAuthorizations()
Gets the authorizations value |
java.lang.String |
getDescription()
Gets the description value |
java.lang.String |
getId()
Gets the id value |
java.lang.String |
getName()
Gets the name value |
java.lang.String |
getRefId()
Gets the refId value |
java.lang.String |
getType()
Gets the type value |
java.lang.String |
getUrl()
Gets the url value |
void |
setAuthorizations(java.util.ArrayList<RoleAndMethodsAuthorization> authorizations)
Sets the value of authorizations |
void |
setDescription(java.lang.String description)
Sets the value of description |
void |
setId(java.lang.String id)
Sets the value of id |
void |
setName(java.lang.String name)
Sets the value of name |
void |
setRefId(java.lang.String refId)
Sets the value of refId |
void |
setType(java.lang.String type)
Sets the value of type |
void |
setUrl(java.lang.String url)
Sets the value of url |
DelegatedAuthorizer |
wrap(org.restlet.Application application)
Wrap security configuration to Authorizer |
DelegatedAuthorizer |
wrap(java.util.Map<java.lang.String,org.restlet.security.Role> reference,
org.restlet.Application application)
Wrap security configuration to Authorizer |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceAuthorization()
Method Detail |
---|
public java.util.ArrayList<RoleAndMethodsAuthorization> getAuthorizations()
public void setAuthorizations(java.util.ArrayList<RoleAndMethodsAuthorization> authorizations)
authorizations
- the authorizations to setpublic java.lang.String getId()
getId
in interface IResource
public void setId(java.lang.String id)
setId
in interface IResource
id
- the id to setpublic java.lang.String getRefId()
public void setRefId(java.lang.String refId)
refId
- the refId to setpublic java.lang.String getName()
getName
in interface IResource
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.String getType()
public void setType(java.lang.String type)
type
- the type to setpublic java.lang.String getDescription()
getDescription
in interface IResource
public void setDescription(java.lang.String description)
description
- the description to setpublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- the url to setpublic DelegatedAuthorizer wrap(org.restlet.Application application)
application
- the application to check
public DelegatedAuthorizer wrap(java.util.Map<java.lang.String,org.restlet.security.Role> reference, org.restlet.Application application)
reference
- Mapapplication
- Application parent of the authorizer (can be null)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |