Package swiss.trustbroker.config.dto
Class QualityOfAuthenticationConfig
java.lang.Object
swiss.trustbroker.config.dto.QualityOfAuthenticationConfig
Quality of Authentication (QoA) configuration.
A QoA value has a name (e.g. a URN) and a numerical level for ordering and mapping inbound/outbound.
A QoA value has a name (e.g. a URN) and a numerical level for ordering and mapping inbound/outbound.
- Since:
- 1.9.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanDefault Qoa value.Mapping of legacy QoA values to QoaLevel.Global mapping of QoA values to QoaLevel.QoA value for strongest possible authentication level.inthashCode()voidsetDefaultQoa(String defaultQoa) Default Qoa value.voidMapping of legacy QoA values to QoaLevel.voidsetMapping(Map<String, Integer> mapping) Global mapping of QoA values to QoaLevel.voidsetStrongestPossible(String strongestPossible) QoA value for strongest possible authentication level.toString()
-
Constructor Details
-
QualityOfAuthenticationConfig
public QualityOfAuthenticationConfig() -
QualityOfAuthenticationConfig
public QualityOfAuthenticationConfig(String defaultQoa, String strongestPossible, Map<String, Integer> mapping, Map<String, Integer> legacy) Creates a newQualityOfAuthenticationConfiginstance.- Parameters:
defaultQoa- Default Qoa value.strongestPossible- QoA value for strongest possible authentication level.mapping- Global mapping of QoA values to QoaLevel.legacy- Mapping of legacy QoA values to QoaLevel.
Used forOidcClient.usePepQoa=true.
-
-
Method Details
-
builder
-
getDefaultQoa
Default Qoa value. -
getStrongestPossible
QoA value for strongest possible authentication level. -
getMapping
Global mapping of QoA values to QoaLevel. -
getLegacy
Mapping of legacy QoA values to QoaLevel.
Used forOidcClient.usePepQoa=true. -
setDefaultQoa
Default Qoa value. -
setStrongestPossible
QoA value for strongest possible authentication level. -
setMapping
Global mapping of QoA values to QoaLevel. -
setLegacy
Mapping of legacy QoA values to QoaLevel.
Used forOidcClient.usePepQoa=true. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-