Interface WsCustomAuthentication

All Known Implementing Classes:
WsGrouperDefaultAuthentication, WsGrouperKerberosAuthentication, WsGrouperLdapAuthentication

public interface WsCustomAuthentication
 implement this interface and provide the class to the classpath and
 to override the default of httpServletRequest.getUserPrincipal();
 for non-Rampart authentication
 if user is not found, throw a runtime exception.  Could be WsInvalidQueryException
 which is a type of runtime exception (experiment and see what you want the response to 
 look like)
  • Method Summary

    Modifier and Type
    retrieveLoggedInSubjectId(javax.servlet.http.HttpServletRequest httpServletRequest)
    retrieve the current username (subjectId) from the request object.
  • Method Details

    • retrieveLoggedInSubjectId

      String retrieveLoggedInSubjectId(javax.servlet.http.HttpServletRequest httpServletRequest) throws WsInvalidQueryException
      retrieve the current username (subjectId) from the request object.
      httpServletRequest -
      the logged in username (subjectId)
      WsInvalidQueryException - if there is a problem