edu.internet2.middleware.grouper.ws.security
Class WsGrouperDefaultAuthentication

java.lang.Object
  extended by edu.internet2.middleware.grouper.ws.security.WsGrouperDefaultAuthentication
All Implemented Interfaces:
WsCustomAuthentication

public class WsGrouperDefaultAuthentication
extends java.lang.Object
implements WsCustomAuthentication

default authentication for grouper if a custom one isnt specified in grouper-ws.properties for non-rampart requests


Constructor Summary
WsGrouperDefaultAuthentication()
           
 
Method Summary
 java.lang.String retrieveLoggedInSubjectId(HttpServletRequest httpServletRequest)
          retrieve the current username (subjectId) from the request object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsGrouperDefaultAuthentication

public WsGrouperDefaultAuthentication()
Method Detail

retrieveLoggedInSubjectId

public java.lang.String retrieveLoggedInSubjectId(HttpServletRequest httpServletRequest)
                                           throws java.lang.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
java.lang.RuntimeException
See Also:
WsCustomAuthentication.retrieveLoggedInSubjectId(javax.servlet.http.HttpServletRequest)