Package | Description |
---|---|
com.orchestranetworks.rest.security |
Modifier and Type | Method and Description |
---|---|
AuthorizationOutcome |
AuthorizationRule.check(AuthorizationContext aContext)
Checks if the user has the proper rights to perform the request.
|
static AuthorizationOutcome |
AuthorizationOutcome.createForbidden(String aMessage)
Creates a "forbidden" outcome with a message.
|
static AuthorizationOutcome |
AuthorizationOutcome.createForbidden(UserMessage anUserMessage)
Creates a "forbidden" outcome with a localized message.
|
static AuthorizationOutcome |
AuthorizationOutcome.getAuthorized()
Getter that returns an authorized autocome with no message.
|
static AuthorizationOutcome |
AuthorizationOutcome.getForbidden()
Factory method that specifies that a user is forbidden
to access the REST resource.
|