public class UserActionValidator<C extends ClientContext> extends ClientActionValidator<C>
UserAuthenticationEvent
s and enables an action
only if there is a valid user login.Constructor and Description |
---|
UserActionValidator(C clientCtx) |
Modifier and Type | Method and Description |
---|---|
void |
checkPermission() |
protected void |
checkUserPermission(User user) |
getClientContext, isLoggedIn, isOnline, isUserAuthentificationSensitive, setUserAuthentificationSensitive
addValidationListener, fireAvailabilityChecks, isPermitted, removeValidationListener
public UserActionValidator(C clientCtx)
public final void checkPermission() throws java.lang.Exception
checkPermission
in interface ActionValidator
checkPermission
in class ClientActionValidator<C extends ClientContext>
java.lang.Exception
protected void checkUserPermission(User user) throws java.lang.Exception
java.lang.Exception
Copyright © 2014 EsprIT-Systems. All Rights Reserved.