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
Constructors -
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:WsCustomAuthenticationretrieve the current username (subjectId) from the request object.- Specified by:
retrieveLoggedInSubjectIdin interfaceWsCustomAuthentication- Returns:
- the logged in username (subjectId)
- Throws:
WsInvalidQueryException- if there is a problemRuntimeException- See Also:
-