Class DeniedReason
java.lang.Object
com.atlassian.jira.bc.security.login.DeniedReason
- Direct Known Subclasses:
CaptchaChallengeRequired
This class is used to indicate the reason why authentication has been denied.
- Since:
- v4.3
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeniedReason
(String reasonCode) Creates a new DenialReason with no additional properties.DeniedReason
(String reasonCode, Map<String, String> reasonSpecificProperties) Creates a new DenialReason with properties. -
Method Summary
-
Field Details
-
X_DENIED_HEADER
The HTTP header that is used to- See Also:
-
-
Constructor Details
-
DeniedReason
Creates a new DenialReason with no additional properties.- Parameters:
reasonCode
- the reason code for the denial
-
DeniedReason
Creates a new DenialReason with properties.- Parameters:
reasonCode
- the reason code for the denialreasonSpecificProperties
- the reason-specific properties
-
-
Method Details