Nader Behravan <nbehravan.RemoveThis@hotmail.com> wrote:
> Tomcat) I can get the user name (who logged on in Apache) with the method
> getRemoteUser() (of request). I wonder, if I can even get the group
> Infromation of user (groups that I have configured in group file).
Ok, so the 'users' and 'groups' are not system user/group but are defined
in some passwd file managed trought htpasswd functionality, right? Then
I'm afraid that there is nothing to do. If Apache doesn't transfert those
info the only thing you can do is to implement your own utility or to
switch to a different authentication scheme database-based (LDAP,
MySQL, PostGRe, wathever), then you should be able to collect those info
querying the database.
See the documentation of TomCat.
Davide
--
| Everybody lies, but it doesn't matter since nobody listens.
|
|
|<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Apache + Tomcat