public final class ChallengeScheme
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ChallengeScheme |
CUSTOM
Custom scheme based on IP address or cookies or query parameters, etc.
|
static ChallengeScheme |
FTP_PLAIN
Plain FTP scheme.
|
static ChallengeScheme |
HTTP_AWS_IAM
Amazon Query String HTTP scheme.
|
static ChallengeScheme |
HTTP_AWS_QUERY
Amazon Query String HTTP scheme.
|
static ChallengeScheme |
HTTP_AWS_S3
Amazon S3 HTTP scheme.
|
static ChallengeScheme |
HTTP_AZURE_SHAREDKEY
Microsoft Azure Shared Key scheme.
|
static ChallengeScheme |
HTTP_AZURE_SHAREDKEY_LITE
Microsoft Azure Shared Key lite scheme.
|
static ChallengeScheme |
HTTP_BASIC
Basic HTTP scheme.
|
static ChallengeScheme |
HTTP_COOKIE
Cookie HTTP scheme.
|
static ChallengeScheme |
HTTP_DIGEST
Digest HTTP scheme.
|
static ChallengeScheme |
HTTP_NTLM
Microsoft NTML HTTP scheme.
|
static ChallengeScheme |
HTTP_OAUTH
OAuth 1.0 HTTP scheme.
|
static ChallengeScheme |
HTTP_OAUTH_BEARER
OAuth Bearer HTTP scheme.
|
static ChallengeScheme |
HTTP_OAUTH_MAC
OAuth MAC HTTP scheme.
|
static ChallengeScheme |
POP_BASIC
Basic POP scheme.
|
static ChallengeScheme |
POP_DIGEST
Digest POP scheme.
|
static ChallengeScheme |
SDC
Secure Data Connector scheme.
|
static ChallengeScheme |
SMTP_PLAIN
Plain SMTP scheme.
|
Constructor and Description |
---|
ChallengeScheme(java.lang.String name,
java.lang.String technicalName)
Constructor.
|
ChallengeScheme(java.lang.String name,
java.lang.String technicalName,
java.lang.String description)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
java.lang.String |
getDescription()
Returns the description.
|
java.lang.String |
getName()
Returns the name.
|
java.lang.String |
getTechnicalName()
Returns the technical name (ex: BASIC).
|
int |
hashCode() |
java.lang.String |
toString()
Returns the name.
|
static ChallengeScheme |
valueOf(java.lang.String name)
Returns the challenge scheme associated to a scheme name.
|
public static final ChallengeScheme CUSTOM
public static final ChallengeScheme FTP_PLAIN
public static final ChallengeScheme HTTP_AWS_IAM
public static final ChallengeScheme HTTP_AWS_QUERY
public static final ChallengeScheme HTTP_AWS_S3
public static final ChallengeScheme HTTP_AZURE_SHAREDKEY
public static final ChallengeScheme HTTP_AZURE_SHAREDKEY_LITE
public static final ChallengeScheme HTTP_BASIC
public static final ChallengeScheme HTTP_COOKIE
public static final ChallengeScheme HTTP_DIGEST
public static final ChallengeScheme HTTP_NTLM
public static final ChallengeScheme HTTP_OAUTH
public static final ChallengeScheme HTTP_OAUTH_BEARER
public static final ChallengeScheme HTTP_OAUTH_MAC
public static final ChallengeScheme POP_BASIC
public static final ChallengeScheme POP_DIGEST
public static final ChallengeScheme SDC
public static final ChallengeScheme SMTP_PLAIN
public ChallengeScheme(java.lang.String name, java.lang.String technicalName)
name
- The unique name.technicalName
- The technical name.public ChallengeScheme(java.lang.String name, java.lang.String technicalName, java.lang.String description)
name
- The unique name.technicalName
- The technical name.description
- The description.public static ChallengeScheme valueOf(java.lang.String name)
name
- The scheme name.public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public java.lang.String getDescription()
public java.lang.String getName()
public java.lang.String getTechnicalName()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005-2024 Restlet.