org.knopflerfish.service.um.useradmin
Interface Condition
- All Superinterfaces:
- Role
- public interface Condition
- extends Role
This interface represents a Condition that is managed by a
UserAdmin
service.
A Condition may have a filter associated with it. The condition
is true if the condition's filter evaluates to true with a context
supplied to it by a ContextualAuthorization.
|
Field Summary |
static int |
CONDITION
The type of a Condition role. |
|
Method Summary |
java.lang.String |
getFilter()
Get the filter |
void |
setFilter(java.lang.String filter)
Set the filter |
CONDITION
public static final int CONDITION
- The type of a Condition role.
The value of CONDITION is -1.
getFilter
public java.lang.String getFilter()
- Get the filter
- Returns:
- the filter
setFilter
public void setFilter(java.lang.String filter)
- Set the filter
- Parameters:
filter - what it should be set to- Throws:
java.lang.SecurityException - If a security manager exists and the caller
does not have the UserAdminPermission with name admin.