public interface AuthorizationMapping
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:
<provider> <authorizationMapping> <classlist>com.foo.auth.CustomProvider</classlist> </authorizationMapping> </provider>
Modifier and Type | Method and Description |
---|---|
String |
description()
Returns a description of the Policy
|
String |
map(String principal)
Returns true if the principal is explicity authorized to the JID
|
String |
name()
Returns the short name of the Policy
|
String map(String principal)
principal
- The autheticated principal requesting authorization.String name()
String description()
Copyright © 2003-2008 Jive Software.