Class ExtSourceINET
- All Implemented Interfaces:
ExtSourceApi, ExtSourceSimpleApi, Serializable, Comparable<PerunBean>
This is a specific version of SQL extSource extension for SQL Complex. There is a new parameter which prepare complex
sql query to be used by filling two parameters instead of whole sql query (to prevent duplicity of the same sql query
for every affected group
- See Also:
-
Field Summary
Fields inherited from class ExtSourceSql
DBPOOL, URL, USERFields inherited from class ExtSourceImpl
perunBl -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ExtSourceSqlComplex
findSubjectsMethods inherited from class ExtSourceSql
close, findSubjectsLogins, getDataSource, getSubjectByLogin, getSubjectGroups, getUsersSubjects, groupQuery, querySourceMethods inherited from class ExtSourceImpl
getAttributesMethods inherited from class ExtSource
compareTo, equals, getBeanName, getName, getType, hashCode, serializeToString, setName, setType, toStringMethods inherited from class Auditable
getCreatedAt, getCreatedBy, getCreatedByUid, getModifiedAt, getModifiedBy, getModifiedByUid, setCreatedAt, setCreatedBy, setCreatedByUid, setModifiedAt, setModifiedBy, setModifiedByUidMethods inherited from interface ExtSourceSimpleApi
close, findSubjectsLogins, getSubjectByLogin, getSubjectGroups, getUsersSubjects
-
Constructor Details
-
ExtSourceINET
public ExtSourceINET()
-
-
Method Details
-
getGroupSubjects
Description copied from interface:ExtSourceSimpleApiGet the list of the subjects in the external group.- Specified by:
getGroupSubjectsin interfaceExtSourceSimpleApi- Overrides:
getGroupSubjectsin classExtSourceSql- Parameters:
attributes- map of attributes used for quering the external source- Returns:
- list of maps, which contains attr_name->attr_value, e.g. firstName->Michal
-