Class WsGrouperDefaultAuthentication
java.lang.Object
edu.internet2.middleware.grouper.ws.security.WsGrouperDefaultAuthentication
- All Implemented Interfaces:
WsCustomAuthentication
default authentication for grouper if a custom one isnt specified in
grouper-ws.properties for non-rampart requests
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionretrieveLoggedInSubjectId
(javax.servlet.http.HttpServletRequest httpServletRequest) retrieve the current username (subjectId) from the request object.
-
Constructor Details
-
WsGrouperDefaultAuthentication
public WsGrouperDefaultAuthentication()
-
-
Method Details
-
retrieveLoggedInSubjectId
public String retrieveLoggedInSubjectId(javax.servlet.http.HttpServletRequest httpServletRequest) throws RuntimeException Description copied from interface:WsCustomAuthentication
retrieve the current username (subjectId) from the request object.- Specified by:
retrieveLoggedInSubjectId
in interfaceWsCustomAuthentication
- Returns:
- the logged in username (subjectId)
- Throws:
WsInvalidQueryException
- if there is a problemRuntimeException
- See Also:
-