org.apache.sling.auth.core.spi
Interface AuthenticationInfoPostProcessor


public interface AuthenticationInfoPostProcessor

Service interface which allows bundles to modify the AuthenticationInfo object after authentication has been performed.


Field Summary
static String SERVICE_NAME
          The name under which an implementation of this interface must be registered to be used as an authentication info post processor.
 
Method Summary
 void postProcess(AuthenticationInfo info, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Perform some post-processing on the AuthenticationInfo object.
 

Field Detail

SERVICE_NAME

static final String SERVICE_NAME
The name under which an implementation of this interface must be registered to be used as an authentication info post processor.

See Also:
Constant Field Values
Method Detail

postProcess

void postProcess(AuthenticationInfo info,
                 javax.servlet.http.HttpServletRequest request,
                 javax.servlet.http.HttpServletResponse response)
                 throws LoginException
Perform some post-processing on the AuthenticationInfo object.

Parameters:
info -
request -
response -
Throws:
LoginException - if SlingAuthenticator should handle the exception (eg. set the correct status in the response) SlingException will not be caught by SlingAuthenticator, in this case the method has to set the accurate status in the response
SlingException - may be thrown to convey any problem while handling the credentials


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.