tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator AuthenticatorBase.java
Date Mon, 26 Apr 2004 21:54:15 GMT
remm        2004/04/26 14:54:15

  Modified:    catalina/src/share/org/apache/catalina/authenticator
                        AuthenticatorBase.java
  Log:
  - Fix indentation.
  
  Revision  Changes    Path
  1.19      +10 -9     jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java
  
  Index: AuthenticatorBase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- AuthenticatorBase.java	26 Apr 2004 21:50:36 -0000	1.18
  +++ AuthenticatorBase.java	26 Apr 2004 21:54:15 -0000	1.19
  @@ -753,28 +753,29 @@
        *              caller is associated
        * @param request   the request that needs to be authenticated
        */
  -    protected boolean reauthenticateFromSSO(String ssoId, HttpRequest request) {
  +    protected boolean reauthenticateFromSSO
  +        (String ssoId, HttpRequest request) {
   
           if (sso == null || ssoId == null)
               return false;
   
           boolean reauthenticated = false;
   
  -            Container parent = getContainer();
  -            if (parent != null) {
  +        Container parent = getContainer();
  +        if (parent != null) {
               Realm realm = parent.getRealm();
               if (realm != null) {
                   reauthenticated = sso.reauthenticate(ssoId, realm, request);
  -                }
               }
  +        }
   
           if (reauthenticated) {
  -                associate(ssoId, getSession(request, true));
  +            associate(ssoId, getSession(request, true));
   
  -                if (log.isDebugEnabled()) {
  +            if (log.isDebugEnabled()) {
                   HttpServletRequest hreq = 
  -                        (HttpServletRequest) request.getRequest();
  -                    log.debug(" Reauthenticated cached principal '" +
  +                    (HttpServletRequest) request.getRequest();
  +                log.debug(" Reauthenticated cached principal '" +
                             hreq.getUserPrincipal().getName() +
                             "' with auth type '" +  hreq.getAuthType() + "'");
               }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message