public class DefaultAuthorizationMapping extends Object implements AuthorizationMapping
| Constructor and Description |
|---|
DefaultAuthorizationMapping() |
| Modifier and Type | Method and Description |
|---|---|
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
|
public String map(String principal)
map in interface AuthorizationMappingprincipal - The autheticated principal requesting authorization.public String name()
name in interface AuthorizationMappingpublic String description()
description in interface AuthorizationMappingCopyright © 2003–2019 Ignite Realtime. All rights reserved.