// At the time getCarbonAuthenticator() method been invoked, all the authenticators should be
// registered.
public static CarbonUIAuthenticator getCarbonAuthenticator(HttpServletRequest request) {
HttpSession session = request.getSession();
CarbonUIAuthenticator authenticator;
if ((authenticator = (CarbonUIAuthenticator) session
.getAttribute(CarbonSecuredHttpContext.CARBON_AUTHNETICATOR)) != null) {
return authenticator;
}