|
Wildfire 3.2.4 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.wildfire.sasl.AbstractAuthorizationPolicy org.jivesoftware.wildfire.sasl.StrictAuthorizationPolicy
public class StrictAuthorizationPolicy
This policy will authorize any principal who:
Constructor Summary | |
---|---|
StrictAuthorizationPolicy()
|
Method Summary | |
---|---|
boolean |
authorize(String username,
String principal)
Returns true if the principal is explicity authorized to the JID |
String |
description()
Returns a description of the Policy |
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 StrictAuthorizationPolicy()
Method Detail |
---|
public boolean authorize(String username, String principal)
authorize
in interface AuthorizationProvider
authorize
in class AbstractAuthorizationPolicy
username
- The username requested.principal
- The principal requesting the username.
public String name()
name
in class AbstractAuthorizationPolicy
public String description()
description
in class AbstractAuthorizationPolicy
|
Wildfire 3.2.4 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |