@Service
public interface RestAuthenticationService
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthenticationDataForUser(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
DSpaceAuthentication authentication) |
EPerson |
getAuthenticatedEPerson(javax.servlet.http.HttpServletRequest request,
Context context) |
AuthenticationService |
getAuthenticationService() |
String |
getWwwAuthenticateHeaderValue(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Return the value that should be passed in the WWWW-Authenticate header for 4xx responses to the client
|
boolean |
hasAuthenticationData(javax.servlet.http.HttpServletRequest request) |
void |
invalidateAuthenticationData(javax.servlet.http.HttpServletRequest request,
Context context) |
void addAuthenticationDataForUser(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
DSpaceAuthentication authentication)
throws IOException
IOExceptionEPerson getAuthenticatedEPerson(javax.servlet.http.HttpServletRequest request, Context context)
boolean hasAuthenticationData(javax.servlet.http.HttpServletRequest request)
void invalidateAuthenticationData(javax.servlet.http.HttpServletRequest request,
Context context)
throws Exception
ExceptionAuthenticationService getAuthenticationService()
String getWwwAuthenticateHeaderValue(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request - The current client requestresponse - The response being build for the clientCopyright © 2019 DuraSpace. All rights reserved.