public static Collection<AuthorizationPolicy> getAuthorizationPolicies() {
        return authorizationPolicies;
    }
Returns the currently-installed AuthorizationProvider. Warning: You
should not be calling the AuthorizationProvider directly to perform
authorizations, it will not take into account the policy selected in
the {@code openfire.xml}.  Use @see{authorize} in this class, instead.

@return the current AuthorizationProvider.
xmppserver/src/main/java/org/jivesoftware/openfire/auth/AuthorizationManager.java