public boolean authenticate()

in impl/src/main/java/org/apache/directory/fortress/realm/J2eePolicyMgrImpl.java [81:97]


    public boolean authenticate( String userId, String password ) throws SecurityException
    {
        boolean result = false;
        Session session = accessMgr.authenticate( userId, password );
        
        if ( session != null )
        {
            result = true;
            LOG.debug( "{}.authenticate userId [{}], successful", CLS_NM, userId );
        }
        else
        {
            LOG.debug( "{}.authenticate userId [{}], failed", CLS_NM, userId );
        }

        return result;
    }