Class AcClass
java.lang.Object
swiss.trustbroker.federation.xmlconfig.AcClass
- All Implemented Interfaces:
Serializable
Authentication Context Class (ACClass).
- Since:
- 1.9.0
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplyForDirection(Boolean outbound) static AcClass.AcClassBuilderbuilder()protected booleanbooleanACClass nameIf this Qoa is returned by the CP, but was not requested by the RP, downgrade it to the maximum Qoa requested by the RP.Enable mapping of inbound QoA.Enable mapping of outbound QoA.getOrder()ACClass QoA order.Replace inbound Qoa from RP request.inthashCode()voidsetContextClass(String contextClass) ACClass namevoidsetDowngradeToMaximumRequested(Boolean downgradeToMaximumRequested) If this Qoa is returned by the CP, but was not requested by the RP, downgrade it to the maximum Qoa requested by the RP.voidsetMapInbound(Boolean mapInbound) Enable mapping of inbound QoA.voidsetMapOutbound(Boolean mapOutbound) Enable mapping of outbound QoA.voidACClass QoA order.voidsetReplaceInbound(Boolean replaceInbound) Replace inbound Qoa from RP request.toString()
-
Constructor Details
-
AcClass
public AcClass() -
AcClass
public AcClass(Integer order, Boolean mapInbound, Boolean mapOutbound, Boolean replaceInbound, Boolean downgradeToMaximumRequested, String contextClass) Creates a newAcClassinstance.- Parameters:
order- ACClass QoA order.mapInbound- Enable mapping of inbound QoA.
Default: true, set to false in order to disambiguate mappings.mapOutbound- Enable mapping of outbound QoA.
Default: true, set to false in order to disambiguate mappings.replaceInbound- Replace inbound Qoa from RP request. Only works with Qoa.replaceInbound together
Default: truedowngradeToMaximumRequested- If this Qoa is returned by the CP, but was not requested by the RP, downgrade it to the maximum Qoa requested by the RP.
Default: falsecontextClass- ACClass name- Since:
- 1.10.0
-
-
Method Details
-
applyForDirection
- Parameters:
outbound- true for outbound, false for inbound, null for both- Returns:
- true if this mapping is to be applied
-
builder
-
getOrder
ACClass QoA order. -
getMapInbound
Enable mapping of inbound QoA.
Default: true, set to false in order to disambiguate mappings. -
getMapOutbound
Enable mapping of outbound QoA.
Default: true, set to false in order to disambiguate mappings. -
getReplaceInbound
Replace inbound Qoa from RP request. Only works with Qoa.replaceInbound together
Default: true- Since:
- 1.10.0
-
getDowngradeToMaximumRequested
If this Qoa is returned by the CP, but was not requested by the RP, downgrade it to the maximum Qoa requested by the RP.
Default: false -
getContextClass
ACClass name -
setOrder
ACClass QoA order. -
setMapInbound
Enable mapping of inbound QoA.
Default: true, set to false in order to disambiguate mappings. -
setMapOutbound
Enable mapping of outbound QoA.
Default: true, set to false in order to disambiguate mappings. -
setReplaceInbound
Replace inbound Qoa from RP request. Only works with Qoa.replaceInbound together
Default: true- Since:
- 1.10.0
-
setDowngradeToMaximumRequested
If this Qoa is returned by the CP, but was not requested by the RP, downgrade it to the maximum Qoa requested by the RP.
Default: false -
setContextClass
ACClass name -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-