public class LoginResource extends AbstractResource<java.security.Principal>
httpHeaders, providers, request, resourceCtx, securityCtx, serviceLocator, uriInfo| Constructor and Description |
|---|
LoginResource() |
| Modifier and Type | Method and Description |
|---|---|
Response |
getLoginResponse()
If credentials are not correct the response contains the appropriate http error code, otherwise contains status
200 OK.
|
protected java.security.Principal |
readResource(java.lang.String resourceId)
Returns logged user or null
|
afterDelete, afterPost, afterPut, beforeDelete, beforePost, beforePut, createDeleteResponse, createGetResponse, createOrUpdatePostResource, createOrUpdateResource, createPostResource, createPostResponse, createPutResponse, createPutResponse, createResource, deleteResource, getEventActionFactory, getPagingStrategy, getParentResource, getPostCommandHandler, getPutCommandHandler, getRequest, getResourceId, getResourceValue, getResponse, getSecurityContext, getSecurityStrategy, getServiceLocator, getUriInfo, isAccessGranted, isAccessGrantedExternal, notifyAfterDelete, notifyAfterGet, notifyAfterPost, notifyAfterPut, notifyBeforeDelete, notifyBeforeGet, notifyBeforePost, notifyBeforePut, processDtoId, processException, readPostResource, setCachingStrategy, setDeleteMethod, setEventActionFactory, setGetMethod, setPagingStrategy, setParentResource, setPostCommandHandler, setPostMethod, setPutCommandHandler, setPutMethod, setRequestProcessChain, setResourceId, setResourceValue, setSecurityStrategy, setServiceLocatorpublic Response getLoginResponse()
Responseprotected java.security.Principal readResource(java.lang.String resourceId)
readResource in class AbstractResource<java.security.Principal>Copyright © 2018 SAP SE. All Rights Reserved.