Class ExtSourceEGISSO
- All Implemented Interfaces:
ExtSourceApi, ExtSourceSimpleApi, Serializable, Comparable<PerunBean>
This extSource is just for use loading users from LDAP of EGI SSO Need to be concrete because special parsing of user
certificates.
- Author:
- Michal Stava invalid input: '<'stavamichal@gmail.com>
- See Also:
-
Field Summary
Fields inherited from class ExtSourceLdap
dirContext, filteredQuery, LOG, mappingFields inherited from class ExtSourceImpl
perunBl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGroupSubjects(Map<String, String> attributes) Get the list of the subjects in the external group.getSubjectGroups(Map<String, String> attributes) Get the list of the subject groups in the external source.Get the list of subjects from the external source.querySource(String query, String base) Query LDAP using query in defined base.Methods inherited from class ExtSourceLdap
close, findSubjects, findSubjectsLogins, getContext, getLdapAttributeValue, getSubjectAttributes, getSubjectByLogin, initContextMethods 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 ExtSourceApi
findSubjectsMethods inherited from interface ExtSourceSimpleApi
close, findSubjectsLogins, getSubjectByLogin
-
Constructor Details
-
ExtSourceEGISSO
public ExtSourceEGISSO()
-
-
Method Details
-
getGroupSubjects
Description copied from interface:ExtSourceSimpleApiGet the list of the subjects in the external group.- Specified by:
getGroupSubjectsin interfaceExtSourceSimpleApi- Overrides:
getGroupSubjectsin classExtSourceLdap- 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
-
getSubjectGroups
public List<Map<String,String>> getSubjectGroups(Map<String, String> attributes) throws ExtSourceUnsupportedOperationExceptionDescription copied from interface:ExtSourceSimpleApiGet the list of the subject groups in the external source.- Specified by:
getSubjectGroupsin interfaceExtSourceSimpleApi- Overrides:
getSubjectGroupsin classExtSourceLdap- Parameters:
attributes- map of attributes used for quering the external source- Returns:
- list of maps, which contains attr name and attr value
- Throws:
ExtSourceUnsupportedOperationException
-
getUsersSubjects
Description copied from interface:ExtSourceSimpleApiGet the list of subjects from the external source.- Specified by:
getUsersSubjectsin interfaceExtSourceSimpleApi- Overrides:
getUsersSubjectsin classExtSourceLdap- Returns:
- list of maps, which contains attr_name->attr_value, e.g. firstName->Michal
-
processResultToSubject
-
querySource
Description copied from class:ExtSourceLdapQuery LDAP using query in defined base.- Overrides:
querySourcein classExtSourceLdap- Parameters:
query-base-- Returns:
- List of Map of the LDAP attribute names and theirs values
-