Interface AuthorizationMapping

  • All Known Implementing Classes:
    DefaultAuthorizationMapping, LdapAuthorizationMapping

    public interface AuthorizationMapping
    This is the interface the used to provide default defualt authorization ID's when none was selected by the client.

    Users that wish to integrate with their own authorization system must implement this interface. Register the class with Openfire in the openfire.xml file. An entry in that file would look like the following:

    Jay Kline
    • Method Detail

      • map

        String map​(String principal)
        Returns true if the principal is explicity authorized to the JID
        principal - The autheticated principal requesting authorization.
        The name of the default username to use.
      • name

        String name()
        Returns the short name of the Policy
        The short name of the Policy
      • description

        String description()
        Returns a description of the Policy
        The description of the Policy.