tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/server/isapi jk_service_iis.c
Date Fri, 14 Jun 2002 23:39:52 GMT
nacho       2002/06/14 16:39:52

  Modified:    jk/native2/server/isapi jk_service_iis.c
  Log:
  * Better name for the roles attribute
  
  Revision  Changes    Path
  1.19      +3 -1      jakarta-tomcat-connectors/jk/native2/server/isapi/jk_service_iis.c
  
  Index: jk_service_iis.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/isapi/jk_service_iis.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- jk_service_iis.c	14 Jun 2002 23:12:05 -0000	1.18
  +++ jk_service_iis.c	14 Jun 2002 23:39:52 -0000	1.19
  @@ -79,6 +79,8 @@
   
   #include "jk_iis.h"
   
  +#define ROLES_ATTRIBUTE_NAME  "org.apache.tomcat.jk.roles"
  +
   static int JK_METHOD jk2_service_iis_head(jk_env_t *env, jk_ws_service_t *s ){
       static char crlf[3] = { (char)13, (char)10, '\0' };
       const char *reason;
  @@ -399,7 +401,7 @@
       if ( strlen(s->remote_user) > 0 ){
           char *groups=jk2_service_iis_get_roles(env, s);
           if( groups != NULL){
  -            s->attributes->put( env, s->attributes,"ROLES",groups,NULL);
  +            s->attributes->put( env, s->attributes,ROLES_ATTRIBUTE_NAME,groups,NULL);
           }
       }
   
  
  
  

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


Mime
View raw message