Package | Description |
---|---|
org.restsql.security |
Contains classes that provide security, such as authorization.
|
org.restsql.security.impl |
Contains security implementations.
|
org.restsql.service |
Contains HTTP interface classes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Authorizer.isAuthorized(SecurityContext context,
Request.Type requestType,
String sqlResource)
Checks if user is assigned a role that may perform the request.
|
boolean |
Authorizer.isAuthorized(SecurityContext context,
Request request)
Checks if user is assigned a role that may perform the request.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AuthorizerImpl.isAuthorized(SecurityContext context,
Request.Type requestType,
String sqlResource)
Returns true if user is authorized (or authorization is disabled), false otherwise.
|
boolean |
AuthorizerImpl.isAuthorized(SecurityContext context,
Request request) |
Modifier and Type | Class and Description |
---|---|
class |
SecurityContextAdapter
Adapts JAX-RS's SecurityContext to restSQL's SecurityContext .
|
Copyright © 2011-2018 restSQL Project Contributors