public boolean hasRole()

in proxy/src/main/java/org/apache/directory/fortress/realm/tomcat/Tc7AccessMgrProxy.java [154:162]


    public boolean hasRole( Wrapper wrapper, Principal principal, String role )
    {
        if(realm == null)
        {
            throw new IllegalArgumentException( CLS_NM + "authenticate detected Fortress Tomcat7 Realm not initialized correctly.  Check your Fortress Realm configuration" );
        }
        
        return realm.hasRole( principal, role );
    }