|
Openfire 3.5.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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:<provider> <authorizationMapping> <classlist>com.foo.auth.CustomProvider</classlist> </authorizationMapping> </provider>
Method Summary | |
---|---|
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 |
Method Detail |
---|
String map(String principal)
principal
- The autheticated principal requesting authorization.
String name()
String description()
|
Openfire 3.5.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |