public class AuthenticationScheme extends Object
| Modifier and Type | Field and Description |
|---|---|
static AttributeValueResolver<AuthenticationScheme> |
AUTHENTICATION_SCHEME_RESOLVER
The
AttributeValueResolver that resolves SCIM attribute values
to/from AuthenticationScheme instances. |
| Constructor and Description |
|---|
AuthenticationScheme(String name,
String description,
String specUrl,
String documentationUrl,
String type,
boolean primary)
Create a value of the SCIM AuthenticationSchemes attribute.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationScheme |
createBasic(boolean primary)
Convenience method that creates a new AuthenticationScheme instances for
HTTP BASIC.
|
static AuthenticationScheme |
createOAuth2(boolean primary)
Convenience method that creates a new AuthenticationScheme instances for
OAuth 2.
|
boolean |
equals(Object o) |
String |
getDescription()
Retrieves the description of the Authentication Scheme.
|
String |
getDocumentationUrl()
Retrieves the HTTP addressable URL pointing to the Authentication Scheme's
usage documentation.
|
String |
getName()
Retrieves the name of the Authentication Scheme.
|
String |
getSpecUrl()
Retrieves the HTTP addressable URL pointing to the Authentication Scheme's
specification.
|
String |
getType()
Retrieves the type of Authentication Scheme.
|
int |
hashCode() |
boolean |
isPrimary()
Indicates whether this value is the primary value.
|
void |
setDescription(String description)
Sets the description of the Authentication Scheme.
|
void |
setDocumentationUrl(String documentationUrl)
Sets the HTTP addressable URL pointing to the Authentication Scheme's
usage documentation.
|
void |
setName(String name)
Sets the name of the Authentication Scheme.
|
void |
setPrimary(boolean primary)
Specifies whether this value is the primary value.
|
void |
setSpecUrl(String specUrl)
Sets the HTTP addressable URL pointing to the Authentication Scheme's
specification.
|
void |
setType(String type)
Sets the type of Authentication Scheme.
|
String |
toString() |
public static final AttributeValueResolver<AuthenticationScheme> AUTHENTICATION_SCHEME_RESOLVER
AttributeValueResolver that resolves SCIM attribute values
to/from AuthenticationScheme instances.public AuthenticationScheme(String name, String description, String specUrl, String documentationUrl, String type, boolean primary)
name - The name of the Authentication Scheme.description - The description of the Authentication Scheme.specUrl - A HTTP addressable URL pointing to the
Authentication Scheme's specification.documentationUrl - A HTTP addressable URL pointing to the
Authentication Scheme's usage documentation.type - The type of Authentication Scheme.primary - Specifies whether this value is the primary value.public String getName()
public void setName(String name)
name - The name of the Authentication Scheme.public String getDescription()
public void setDescription(String description)
description - The description of the Authentication Scheme.public String getSpecUrl()
null if there is none.public void setSpecUrl(String specUrl)
specUrl - The HTTP addressable URL pointing to the Authentication
Scheme's specification.public String getDocumentationUrl()
public void setDocumentationUrl(String documentationUrl)
documentationUrl - The HTTP addressable URL pointing to the
Authentication Scheme's usage documentation.public boolean isPrimary()
true if this value is the primary value or
false otherwise.public void setPrimary(boolean primary)
primary - Whether this value is the primary value.public String getType()
public void setType(String type)
type - The type of Authentication Scheme.public static AuthenticationScheme createBasic(boolean primary)
primary - Whether this authentication scheme is primarypublic static AuthenticationScheme createOAuth2(boolean primary)
primary - Whether this authentication scheme is primaryCopyright © 2011–2016 UnboundID. All rights reserved.