| java.lang.Object net.sf.jguard.jee.authentication.callbacks.HttpCallbackHandler
HttpCallbackHandler | public HttpCallbackHandler()(Code) | | constructor required by javadoc of the CallbackHandler interface.
|
buildBasicAuthHeader | public static String buildBasicAuthHeader(String login, String password, String encoding)(Code) | | construct a header value to simulate a Basic authentication with the provided credentials.
Parameters: login - Parameters: password - Parameters: encoding - header |
buildBasicChallenge | public static void buildBasicChallenge(HttpServletResponse response, String realmName)(Code) | | send to the client the BASIC challenge into the response, according to the RFC 2617.
Parameters: response - reponse send to the Client Parameters: realmName - realm owned by the server => specify what kind of credential the user should provide |
buildDigestChallenge | public static void buildDigestChallenge(HttpServletRequest request, HttpServletResponse response, String realm)(Code) | | send to the client the DIGEST challenge into the response, according to the RFC 2617.
Parameters: response - reponse send to the Client Parameters: token - realm owned by the server => specify what kind of credential the user should provide |
getLoginField | public static String getLoginField()(Code) | | gets the HttpRequest login field
login field |
getPasswordField | public static String getPasswordField()(Code) | | gets the HttpRequest password field
password field |
isAfterRegistration | public boolean isAfterRegistration()(Code) | | |
setAfterRegistration | public void setAfterRegistration(boolean afterRegistration)(Code) | | |
setLoginField | public static void setLoginField(String loginField)(Code) | | |
setPasswordField | public static void setPasswordField(String passwordField)(Code) | | |
|
|