Class IdmQuery
java.lang.Object
swiss.trustbroker.federation.xmlconfig.IdmQuery
- All Implemented Interfaces:
Serializable,swiss.trustbroker.api.idm.dto.IdmRequest
public class IdmQuery
extends Object
implements Serializable, swiss.trustbroker.api.idm.dto.IdmRequest
Configures an IDM query to be executed.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionIdmQuery()IdmQuery(Integer order, String id, String name, String store, String issuerNameId, String issuerNameIdNS, StatusPolicy statusPolicy, String clientExtId, String subjectNameId, String appFilter, String subResource, AttributesSelection userDetailsSelection, boolean sortByName) Creates a newIdmQueryinstance. -
Method Summary
Modifier and TypeMethodDescriptionstatic IdmQuery.IdmQueryBuilderbuilder()protected booleanbooleanApplication as filtering parameter for the IDM.List<swiss.trustbroker.api.sessioncache.dto.AttributeName> Client External ID (tenant) as filtering parameter for the IDM.getId()A query needs an ID when its name is not unique and its execution needs to be controlled via a custom script based on CP input usually.SAML federation filter to be applied to the user query.swiss.trustbroker.api.sessioncache.dto.AttributeNameInstead of an issuerNameId the SAML federation can also be identified via its fully qualified homeName attribute as an input.getName()Name of the query, depending on the IdmService implementation.getOrder()The order of the execution of the query.Handling of the user status in IDM.getStore()Used to select an IdmService implementationSubject Name ID as filtering parameter for the IDM.swiss.trustbroker.api.sessioncache.dto.AttributeNameSub resource parameter for the IDM (baseDN in case of LDAP).User details selection identifies the IDM attributes passed through to the RP side.inthashCode()booleanbooleanstatic IdmQueryof(swiss.trustbroker.api.idm.dto.IdmRequest idmRequest) voidsetAppFilter(String appFilter) Application as filtering parameter for the IDM.voidsetClientExtId(String clientExtId) Client External ID (tenant) as filtering parameter for the IDM.voidA query needs an ID when its name is not unique and its execution needs to be controlled via a custom script based on CP input usually.voidsetIssuerNameId(String issuerNameId) SAML federation filter to be applied to the user query.voidsetIssuerNameIdNS(String issuerNameIdNS) Instead of an issuerNameId the SAML federation can also be identified via its fully qualified homeName attribute as an input.voidName of the query, depending on the IdmService implementation.voidThe order of the execution of the query.voidsetSortByName(boolean sortByName) voidsetStatusPolicy(StatusPolicy statusPolicy) Handling of the user status in IDM.voidUsed to select an IdmService implementationvoidsetSubjectNameId(String subjectNameId) Subject Name ID as filtering parameter for the IDM.voidsetSubResource(String subResource) Sub resource parameter for the IDM (baseDN in case of LDAP).voidsetUserDetailsSelection(AttributesSelection userDetailsSelection) User details selection identifies the IDM attributes passed through to the RP side.toString()
-
Constructor Details
-
IdmQuery
public IdmQuery() -
IdmQuery
public IdmQuery(Integer order, String id, String name, String store, String issuerNameId, String issuerNameIdNS, StatusPolicy statusPolicy, String clientExtId, String subjectNameId, String appFilter, String subResource, AttributesSelection userDetailsSelection, boolean sortByName) Creates a newIdmQueryinstance.- Parameters:
order- The order of the execution of the query.id- A query needs an ID when its name is not unique and its execution needs to be controlled via a custom script based on CP input usually.name- Name of the query, depending on the IdmService implementation.store- Used to select an IdmService implementationissuerNameId- SAML federation filter to be applied to the user query.issuerNameIdNS- Instead of an issuerNameId the SAML federation can also be identified via its fully qualified homeName attribute as an input.statusPolicy- Handling of the user status in IDM.clientExtId- Client External ID (tenant) as filtering parameter for the IDM.subjectNameId- Subject Name ID as filtering parameter for the IDM.appFilter- Application as filtering parameter for the IDM.subResource- Sub resource parameter for the IDM (baseDN in case of LDAP).userDetailsSelection- User details selection identifies the IDM attributes passed through to the RP side.sortByName-- Since:
- 1.15.0, 1.10.0, 1.13.0
-
-
Method Details
-
statusPolicyWithDefault
-
isFetchActiveOnly
public boolean isFetchActiveOnly()- Specified by:
isFetchActiveOnlyin interfaceswiss.trustbroker.api.idm.dto.IdmRequest
-
getAttributeSelection
- Specified by:
getAttributeSelectionin interfaceswiss.trustbroker.api.idm.dto.IdmRequest
-
getUserStatusPolicy
- Specified by:
getUserStatusPolicyin interfaceswiss.trustbroker.api.idm.dto.IdmRequest
-
getIssuerNameIdAttribute
public swiss.trustbroker.api.sessioncache.dto.AttributeName getIssuerNameIdAttribute()- Specified by:
getIssuerNameIdAttributein interfaceswiss.trustbroker.api.idm.dto.IdmRequest
-
getSubjectNameIdAttribute
public swiss.trustbroker.api.sessioncache.dto.AttributeName getSubjectNameIdAttribute()- Specified by:
getSubjectNameIdAttributein interfaceswiss.trustbroker.api.idm.dto.IdmRequest
-
of
-
builder
-
getOrder
The order of the execution of the query.- Specified by:
getOrderin interfaceswiss.trustbroker.api.idm.dto.IdmRequest- Since:
- 1.15.0
-
getId
A query needs an ID when its name is not unique and its execution needs to be controlled via a custom script based on CP input usually.- Specified by:
getIdin interfaceswiss.trustbroker.api.idm.dto.IdmRequest
-
getName
Name of the query, depending on the IdmService implementation.- Specified by:
getNamein interfaceswiss.trustbroker.api.idm.dto.IdmRequest
-
getStore
Used to select an IdmService implementation- Specified by:
getStorein interfaceswiss.trustbroker.api.idm.dto.IdmRequest- Since:
- 1.10.0
-
getIssuerNameId
SAML federation filter to be applied to the user query. -
getIssuerNameIdNS
Instead of an issuerNameId the SAML federation can also be identified via its fully qualified homeName attribute as an input. -
getStatusPolicy
Handling of the user status in IDM. -
getClientExtId
Client External ID (tenant) as filtering parameter for the IDM.- Specified by:
getClientExtIdin interfaceswiss.trustbroker.api.idm.dto.IdmRequest
-
getSubjectNameId
Subject Name ID as filtering parameter for the IDM. -
getAppFilter
Application as filtering parameter for the IDM.- Specified by:
getAppFilterin interfaceswiss.trustbroker.api.idm.dto.IdmRequest
-
getSubResource
Sub resource parameter for the IDM (baseDN in case of LDAP).- Specified by:
getSubResourcein interfaceswiss.trustbroker.api.idm.dto.IdmRequest- Since:
- 1.13.0
-
getUserDetailsSelection
User details selection identifies the IDM attributes passed through to the RP side. -
isSortByName
public boolean isSortByName() -
setOrder
The order of the execution of the query.- Since:
- 1.15.0
-
setId
A query needs an ID when its name is not unique and its execution needs to be controlled via a custom script based on CP input usually. -
setName
Name of the query, depending on the IdmService implementation. -
setStore
Used to select an IdmService implementation- Since:
- 1.10.0
-
setIssuerNameId
SAML federation filter to be applied to the user query. -
setIssuerNameIdNS
Instead of an issuerNameId the SAML federation can also be identified via its fully qualified homeName attribute as an input. -
setStatusPolicy
Handling of the user status in IDM. -
setClientExtId
Client External ID (tenant) as filtering parameter for the IDM. -
setSubjectNameId
Subject Name ID as filtering parameter for the IDM. -
setAppFilter
Application as filtering parameter for the IDM. -
setSubResource
Sub resource parameter for the IDM (baseDN in case of LDAP).- Since:
- 1.13.0
-
setUserDetailsSelection
User details selection identifies the IDM attributes passed through to the RP side. -
setSortByName
public void setSortByName(boolean sortByName) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-