@Component(value="cuba_RestApiUserAccessChecker") public class RestApiUserAccessChecker extends AbstractUserAccessChecker implements org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
HIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE
Constructor and Description |
---|
RestApiUserAccessChecker(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 RestApiUserAccessChecker(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