AppserverIo\Appserver\ServletEngine\Security\Auth\Spi\NamingDirectoryLoginModule::getRoleSets PHP 메소드

getRoleSets() 보호된 메소드

Get the roles the current user belongs to by querying the rolesPathPrefix + '/' + super.getUsername() JNDI location.
protected getRoleSets ( ) : array
리턴 array The roles the user is assigned to
    protected function getRoleSets()
    {
        try {
            return array();
        } catch (NamingException $ne) {
            // log.error("Failed to obtain groups for user="+super.getUsername(), e);
            throw new LoginException($ne->__toString());
        }
    }