@Component(value="cuba_IpMaskUserAccessChecker") public class IpMaskUserAccessChecker extends AbstractUserAccessChecker implements org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
HIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE
Constructor and Description |
---|
IpMaskUserAccessChecker(Messages messages) |
Modifier and Type | Method and Description |
---|---|
void |
check(Credentials credentials,
AuthenticationDetails authenticationDetails)
Checks if user can access the system.
|
int |
getOrder() |
@Inject public IpMaskUserAccessChecker(Messages messages)
public void check(Credentials credentials, AuthenticationDetails authenticationDetails) throws LoginException
UserAccessChecker
check
in interface UserAccessChecker
credentials
- credentialsauthenticationDetails
- authentication detailsLoginException
- if access deniedpublic int getOrder()
getOrder
in interface org.springframework.core.Ordered