Package swiss.trustbroker.api.idm.dto
Class IdmResult
java.lang.Object
swiss.trustbroker.api.idm.dto.IdmResult
Result of IDM lookup.
userDetailsare values from the source.
They are filtered via RelyingParty UserDetailsSelection.propertiesare values derived from the attributes.
They are filtered via RelyingParty PropertiesSelection.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOriginalPropertiesCount(int count) voidaddOriginalUserDetailsCount(int count) static IdmResult.IdmResultBuilderbuilder()protected booleanbooleanThis is not consumed directly by the XTB core code, but may be passed to other interfaces.intintReturns the store(s) actually queried - including those that did not find a result.inthashCode()voidsetAdditionalData(Map<Object, Object> additionalData) This is not consumed directly by the XTB core code, but may be passed to other interfaces.voidsetOriginalPropertiesCount(int originalPropertiesCount) voidsetOriginalUserDetailsCount(int originalUserDetailsCount) voidsetProperties(Map<AttributeName, List<String>> properties) voidsetQueriedStores(Set<String> queriedStores) Returns the store(s) actually queried - including those that did not find a result.voidsetUserDetails(Map<AttributeName, List<String>> userDetails) toString()
-
Constructor Details
-
IdmResult
public IdmResult(Map<AttributeName, List<String>> userDetails, int originalUserDetailsCount, Map<AttributeName, List<String>> properties, int originalPropertiesCount, Set<String> queriedStores, Map<Object, Object> additionalData) Creates a newIdmResultinstance.- Parameters:
userDetails-originalUserDetailsCount-properties-originalPropertiesCount-queriedStores- Returns the store(s) actually queried - including those that did not find a result.
Currently this data is passed, to theIdmProvisioningServiceimplementations.additionalData- This is not consumed directly by the XTB core code, but may be passed to other interfaces.
The map key indicates the source of the data. It can be used by the implementations to match related interface implementations in order to share internal data structures such as lookup results.
Currently this data is passed, to theIdmProvisioningServiceimplementations.- Since:
- 1.12.0, 1.9.0
- See Also:
-
IdmResult
public IdmResult()
-
-
Method Details
-
addOriginalUserDetailsCount
public void addOriginalUserDetailsCount(int count) - Parameters:
count- Count to add to the current original user details count.- Since:
- 1.15.0
-
addOriginalPropertiesCount
public void addOriginalPropertiesCount(int count) - Parameters:
count- Count to add to the current original properties count.- Since:
- 1.15.0
-
builder
-
getUserDetails
-
getOriginalUserDetailsCount
public int getOriginalUserDetailsCount() -
getProperties
-
getOriginalPropertiesCount
public int getOriginalPropertiesCount() -
getQueriedStores
Returns the store(s) actually queried - including those that did not find a result.
Currently this data is passed, to theIdmProvisioningServiceimplementations.- Since:
- 1.12.0
- See Also:
-
getAdditionalData
This is not consumed directly by the XTB core code, but may be passed to other interfaces.
The map key indicates the source of the data. It can be used by the implementations to match related interface implementations in order to share internal data structures such as lookup results.
Currently this data is passed, to theIdmProvisioningServiceimplementations.- Since:
- 1.9.0
- See Also:
-
setUserDetails
-
setOriginalUserDetailsCount
public void setOriginalUserDetailsCount(int originalUserDetailsCount) -
setProperties
-
setOriginalPropertiesCount
public void setOriginalPropertiesCount(int originalPropertiesCount) -
setQueriedStores
Returns the store(s) actually queried - including those that did not find a result.
Currently this data is passed, to theIdmProvisioningServiceimplementations.- Since:
- 1.12.0
- See Also:
-
setAdditionalData
This is not consumed directly by the XTB core code, but may be passed to other interfaces.
The map key indicates the source of the data. It can be used by the implementations to match related interface implementations in order to share internal data structures such as lookup results.
Currently this data is passed, to theIdmProvisioningServiceimplementations.- Since:
- 1.9.0
- See Also:
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-