| java.lang.Object org.restlet.data.Metadata org.restlet.data.ChallengeScheme
ChallengeScheme | final public class ChallengeScheme extends Metadata (Code) | | Challenge scheme used to authenticate remote clients.
author: Jerome Louvel (contact@noelios.com) |
CUSTOM | final public static ChallengeScheme CUSTOM(Code) | | Custom scheme based on IP address or cookies or query params, etc.
|
ChallengeScheme | public ChallengeScheme(String name, String technicalName)(Code) | | Constructor.
Parameters: name - The unique name. Parameters: technicalName - The technical name. |
ChallengeScheme | public ChallengeScheme(String name, String technicalName, String description)(Code) | | Constructor.
Parameters: name - The unique name. Parameters: technicalName - The technical name. Parameters: description - The description. |
getTechnicalName | public String getTechnicalName()(Code) | | Returns the technical name (ex: BASIC).
The technical name (ex: BASIC). |
hashCode | public int hashCode()(Code) | |
|
valueOf | public static ChallengeScheme valueOf(String name)(Code) | | Returns the challenge scheme associated to a scheme name. If an existing
constant exists then it is returned, otherwise a new instance is created.
Parameters: name - The scheme name. The associated challenge scheme. |
|
|