Interface AccessRefuser
- All Known Implementing Classes:
RedirectToOAuthAccessRefuser
public interface AccessRefuser
-
Method Summary
Modifier and TypeMethodDescriptionrefuse
(AuthScope scope, AuthConstraint constraint, CurrentUser user) Return a Throwable (should either be an Error or a RuntimeException) to be raised when the provided user fails the authentication constraint
-
Method Details
-
refuse
Return a Throwable (should either be an Error or a RuntimeException) to be raised when the provided user fails the authentication constraint- Parameters:
constraint
- the constraint the user faileduser
- the user- Returns:
- an implementation of Error or RuntimeException to be thrown
-