|
Openfire 3.8.1 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.openfire.auth.DefaultAuthorizationPolicy
public class DefaultAuthorizationPolicy
Different clients perform authentication differently, so this policy will authorize any principal to a requested user that match specific conditions that are considered secure defaults for most installations. Keep in mind if a client does not request any username Java copies the authenticated ID to the requested username.
AuthorizationManager| Constructor Summary | |
|---|---|
DefaultAuthorizationPolicy()
|
|
| Method Summary | |
|---|---|
boolean |
authorize(String username,
String authenID)
Returns true if the principal is explicitly 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 DefaultAuthorizationPolicy()
| Method Detail |
|---|
public boolean authorize(String username,
String authenID)
authorize in interface AuthorizationPolicyusername - The username requested.authenID - The authenticated ID (principal) requesting the username.
public String name()
name in interface AuthorizationPolicypublic String description()
description in interface AuthorizationPolicy
|
Openfire 3.8.1 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||