org.wamblee.security.authorization
Interface UserCondition

All Known Implementing Classes:
AbstractUserCondition, AnyUserCondition, GroupUserCondition

public interface UserCondition

Condition used to match a user against a specified set of users.

Author:
Erik Brakkee

Method Summary
 boolean matches(java.lang.String aUser)
          Determines if the condition matches.
 void setUserAdmin(UserAdministration aAdmin)
          Sets the user administration object.
 

Method Detail

setUserAdmin

void setUserAdmin(UserAdministration aAdmin)
Sets the user administration object.

Parameters:
aAdmin - User administration.

matches

boolean matches(java.lang.String aUser)
Determines if the condition matches.

Parameters:
aUser - user to check.
Returns:
True if the condition matches, false otherwise.


Copyright © 2022. All Rights Reserved.