Knopflerfish OSGi 5.2.0

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.
 
Fields inherited from interface org.osgi.service.useradmin.Role
GROUP, ROLE, USER, USER_ANYONE
 
Method Summary
 java.lang.String getFilter()
          Get the filter
 void setFilter(java.lang.String filter)
          Set the filter
 
Methods inherited from interface org.osgi.service.useradmin.Role
getName, getProperties, getType
 

Field Detail

CONDITION

static final int CONDITION
The type of a Condition role.

The value of CONDITION is -1.

See Also:
Constant Field Values
Method Detail

getFilter

java.lang.String getFilter()
Get the filter

Returns:
the filter

setFilter

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.

Knopflerfish OSGi 5.2.0