com.nimbusds.openid.connect.sdk.claims
Class ACR

java.lang.Object
  extended by com.nimbusds.oauth2.sdk.id.Identifier
      extended by com.nimbusds.openid.connect.sdk.claims.ACR
All Implemented Interfaces:
net.minidev.json.JSONAware

@Immutable
public final class ACR
extends Identifier

Authentication Context Class Reference (acr). It identifies the authentication context, i.e. the information that the relying party may require before it makes an entitlements decision with respect to an authentication response. Such context may include, but is not limited to, the actual authentication method used or level of assurance such as ITU-T X.1254 | ISO/IEC 29115 entity authentication assurance level.

The ACR is represented by a string or an URL string. This class is immutable.

Related specifications:

Version:
$version$ (2013-01-21)
Author:
Vladimir Dzhuvinov

Field Summary
static ACR LEVEL_FOUR
          ACR level 4.
static ACR LEVEL_ONE
          ACR level 1.
static ACR LEVEL_THREE
          ACR level 3.
static ACR LEVEL_TWO
          ACR level 2.
static ACR LEVEL_ZERO
          ACR level 0.
 
Constructor Summary
ACR(String value)
          Creates a new Authentication Context Class Reference (ACR) with the specified value.
 
Method Summary
 boolean equals(Object object)
          Overrides Object.equals().
 
Methods inherited from class com.nimbusds.oauth2.sdk.id.Identifier
getValue, hashCode, toJSONString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

LEVEL_ZERO

public static final ACR LEVEL_ZERO
ACR level 0.


LEVEL_ONE

public static final ACR LEVEL_ONE
ACR level 1.


LEVEL_TWO

public static final ACR LEVEL_TWO
ACR level 2.


LEVEL_THREE

public static final ACR LEVEL_THREE
ACR level 3.


LEVEL_FOUR

public static final ACR LEVEL_FOUR
ACR level 4.

Constructor Detail

ACR

public ACR(String value)
Creates a new Authentication Context Class Reference (ACR) with the specified value.

Parameters:
value - The ACR value. Must not be null.
Method Detail

equals

public boolean equals(Object object)
Description copied from class: Identifier
Overrides Object.equals().

Specified by:
equals in class Identifier
Parameters:
object - The object to compare to.
Returns:
true if the objects have the same value, otherwise false.


Copyright © 2013 NimbusDS. All Rights Reserved.