public class LdapAuthorizationPolicy extends Object implements AuthorizationPolicy
ldap.authorizeField = k5login| Constructor and Description |
|---|
LdapAuthorizationPolicy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authorize(String username,
String principal)
Returns if the principal is explicitly authorized to the JID, throws
an UnauthorizedException otherwise
|
String |
description()
Returns a description of the Policy
|
String |
name()
Returns the short name of the Policy
|
public boolean authorize(String username, String principal)
authorize in interface AuthorizationPolicyusername - The username requested.import org.jivesoftware.openfire.ldap.*;principal - The principal requesting the username.public String name()
name in interface AuthorizationPolicypublic String description()
description in interface AuthorizationPolicyCopyright © 2003–2019 Ignite Realtime. All rights reserved.