|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.bc.security.login.DeniedReason
@Immutable public class DeniedReason
This class is used to indicate the reason why authentication has been denied.
LoginReason.AUTHENTICATION_DENIED| Field Summary | |
|---|---|
static String |
X_DENIED_HEADER
The HTTP header that is used to |
| Constructor Summary | |
|---|---|
DeniedReason(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 | |
|---|---|
String |
asString()
Returns a string representation of this DenialReason, which is suitable for inclusion in a HTTP response header. |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String X_DENIED_HEADER
| Constructor Detail |
|---|
public DeniedReason(String reasonCode)
reasonCode - the reason code for the denial
public DeniedReason(String reasonCode,
Map<String,String> reasonSpecificProperties)
reasonCode - the reason code for the denialreasonSpecificProperties - the reason-specific properties| Method Detail |
|---|
public String asString()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||