info.magnolia.cms.security.auth.callback
Class BasicClientCallback

java.lang.Object
  extended by info.magnolia.cms.security.auth.callback.AbstractHttpClientCallback
      extended by info.magnolia.cms.security.auth.callback.BasicClientCallback
All Implemented Interfaces:
HttpClientCallback

public class BasicClientCallback
extends AbstractHttpClientCallback

Sends HTTP basic authentication headers.


Constructor Summary
BasicClientCallback()
           
 
Method Summary
 String getRealmName()
           
 void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Override this method to provide the specific functionality.
 void setRealmName(String realmName)
           
 
Methods inherited from class info.magnolia.cms.security.auth.callback.AbstractHttpClientCallback
accepts, doCallback, getHostPattern, getOriginalUrlPattern, getUrlPattern, getVoters, setHostPattern, setOriginalUrlPattern, setUrlPattern, setVoters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicClientCallback

public BasicClientCallback()
Method Detail

handle

public void handle(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
Description copied from class: AbstractHttpClientCallback
Override this method to provide the specific functionality. This implementation is only kept for backwards compatibility with versions prior to 4.5, and merely delegates the call to AbstractHttpClientCallback.doCallback(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse).

Specified by:
handle in interface HttpClientCallback
Overrides:
handle in class AbstractHttpClientCallback

getRealmName

public String getRealmName()

setRealmName

public void setRealmName(String realmName)


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.