|
Openfire 3.7.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.openfire.auth.DefaultAuthorizationMapping
public class DefaultAuthorizationMapping
This is the interface the used to provide default default authorization ID's when none was selected by the client. This class simply removes the realm (if any) from the principal if and only if the realm matches the server's realm, the server's xmpp domain name, or
Constructor Summary | |
---|---|
DefaultAuthorizationMapping()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultAuthorizationMapping()
Method Detail |
---|
public String map(String principal)
map
in interface AuthorizationMapping
principal
- The autheticated principal requesting authorization.
public String name()
name
in interface AuthorizationMapping
public String description()
description
in interface AuthorizationMapping
|
Openfire 3.7.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |