tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Zach" <z...@centrum.cz>
Subject custom jaas login module
Date Thu, 09 Feb 2006 10:24:11 GMT
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


Mime
View raw message