You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jan Zach <za...@centrum.cz> on 2006/02/09 11:24:11 UTC

custom jaas login module

Hi all!

in org.apache.catalina.realm.GeneralPrincipal I've found the following code:

    public Principal getUserPrincipal() {
        if (userPrincipal != null) {
            return userPrincipal;
        } else {
            return this;
        }
    }

Could anybody explain me the reason why I cannot assing a subject both user and role principal? Thanks a lot
Regards

Jan


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