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 AuthorizationMapping
principal
- The autheticated principal requesting authorization.public String name()
name
in interface AuthorizationMapping
public String description()
description
in interface AuthorizationMapping
Copyright © 2003-2008 Jive Software.