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