public class RESTAuthService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Constructor and Description |
|---|
RESTAuthService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
auth() |
javax.ws.rs.core.Response |
auth(String profileId) |
javax.ws.rs.core.Response |
hasOneOneCallPermission(String userId) |
javax.ws.rs.core.Response |
verifyPermission(String permissionId) |
@RolesAllowed(value="users") public javax.ws.rs.core.Response auth()
@RolesAllowed(value="users") public javax.ws.rs.core.Response verifyPermission(String permissionId) throws Exception
Exception@RolesAllowed(value="users") public javax.ws.rs.core.Response auth(String profileId)
@RolesAllowed(value="users") public javax.ws.rs.core.Response hasOneOneCallPermission(String userId) throws Exception
ExceptionCopyright © 2003–2015 eXo Platform SAS. All rights reserved.