Uses of Class
cz.metacentrum.perun.core.api.UserExtSource
Package
Description
Exceptions.
-
Uses of UserExtSource in cz.metacentrum.perun.audit.events.AttributesManagerEvents
Modifier and TypeMethodDescriptionAttributeRemovedForUes.getUes()
AttributeSetForUes.getUes()
AllAttributesRemovedForUserExtSource.getUserExtSource()
ModifierConstructorDescriptionAllAttributesRemovedForUserExtSource
(UserExtSource userExtSource) AttributeRemovedForUes
(AttributeDefinition attribute, UserExtSource ues) AttributeSetForUes
(Attribute attribute, UserExtSource ues) -
Uses of UserExtSource in cz.metacentrum.perun.audit.events.UserManagerEvents
Modifier and TypeMethodDescriptionUserExtSourceAddedToUser.getUserExtSource()
UserExtSourceRemovedFromUser.getUserExtSource()
UserExtSourceUpdated.getUserExtSource()
ModifierConstructorDescriptionUserExtSourceAddedToUser
(UserExtSource userExtSource, User user) UserExtSourceRemovedFromUser
(UserExtSource userExtSource, User user) UserExtSourceUpdated
(UserExtSource userExtSource) -
Uses of UserExtSource in cz.metacentrum.perun.core.api
Modifier and TypeMethodDescriptionUsersManager.addUserExtSource
(PerunSession perunSession, User user, UserExtSource userExtSource) Adds user's external sources.RichUserExtSource.asUserExtSource()
View method used for accessing the originalUserExtSource
object of this composition.Candidate.getUserExtSource()
UsersManager.getUserExtSourceByExtLogin
(PerunSession perunSession, ExtSource source, String extLogin) Gets user's external source by the user's external login and external source.UsersManager.getUserExtSourceById
(PerunSession sess, int id) Get the user ext source by its id.UsersManager.getUserExtSourceByUniqueAttributeValue
(PerunSession sess, int attrId, String uniqueValue) Return userExtSource for specific attribute definition (specified by id) and unique value.UsersManager.getUserExtSourceByUniqueAttributeValue
(PerunSession sess, String attrName, String uniqueValue) Return userExtSource for specific attribute definition (specified by name) and unique value.UsersManager.updateUserExtSource
(PerunSession perunSession, UserExtSource userExtSource) Updates user's userExtSource in DB.Modifier and TypeMethodDescriptionCandidate.getAdditionalUserExtSources()
Candidate.getUserExtSources()
RichMember.getUserExtSources()
RichUser.getUserExtSources()
Sponsor.getUserExtSources()
UsersManager.getUserExtSources
(PerunSession perunSession, User user) Gets list of all user's external sources of the user.UsersManager.getUserExtSourcesByIds
(PerunSession sess, List<Integer> ids) Get the user ext sources by their ids.Modifier and TypeMethodDescriptionvoid
RichMember.addUserExtSource
(UserExtSource userExtSource) UsersManager.addUserExtSource
(PerunSession perunSession, User user, UserExtSource userExtSource) Adds user's external sources.UsersManager.addUserExtSourceWithAttributes
(PerunSession sess, User user, UserExtSource userExtSource, List<Attribute> uesAttributes) Adds userExternalSource to the user along with the ues attributes.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, UserExtSource ues, Attribute attribute) Checks if value of this user external source attribute has valid semantics.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributeSyntax
(PerunSession sess, UserExtSource ues, Attribute attribute) Checks if value of this user external source attribute has valid syntaxstatic Candidate
BeansUtils.convertRichMemberToCandidate
(RichMember richMember, UserExtSource primaryUserExtSource) Convert object richMember to object candidate.AttributesManager.fillAttribute
(PerunSession sess, UserExtSource ues, Attribute attribute) This method tries to fill value of the user external source attribute.AttributesManager.fillAttributes
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) PRIVILEGE: Fill attributes only when principal has access to write on them.AttributesManager.getAttribute
(PerunSession sess, UserExtSource ues, String attributeName) Get particular attribute for the user external source.AttributesManager.getAttributeById
(PerunSession sess, UserExtSource ues, int id) Get particular attribute for user external sourceAttributesManager.getAttributes
(PerunSession sess, UserExtSource ues) Get all non-empty attributes associated with the UserExtSource.AttributesManager.getAttributes
(PerunSession sess, UserExtSource ues, List<String> attrNames) Get all attributes associated with the userExtSource which have name in list attrNames (empty too).MembersManager.getMemberByUserExtSource
(PerunSession perunSession, Vo vo, UserExtSource userExtSource) Find member of this Vo by his login in external sourceUsersManager.getUserByUserExtSource
(PerunSession perunSession, UserExtSource userExtSource) Returns user by his login in external source and external source.static boolean
AuthzResolver.isAuthorizedForAttribute
(PerunSession sess, ActionType actionType, AttributeDefinition attrDef, UserExtSource ues) Deprecated.static boolean
AuthzResolver.isAuthorizedForAttribute
(PerunSession sess, AttributeAction actionType, AttributeDefinition attrDef, UserExtSource ues, boolean checkMfa) Checks if the principal is authorized to do some action of ues attribute.void
UsersManager.moveUserExtSource
(PerunSession perunSession, User sourceUser, User targetUser, UserExtSource userExtSource) Take UserExtSource from sourceUser and move it to the targetUser.void
AttributesManager.removeAllAttributes
(PerunSession sess, UserExtSource ues) Unset all attributes for the user external source.void
AttributesManager.removeAttribute
(PerunSession sess, UserExtSource ues, AttributeDefinition attribute) Unset particular attribute for the user external source.void
AttributesManager.removeAttributes
(PerunSession sess, UserExtSource ues, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
UsersManager.removeUserExtSource
(PerunSession perunSession, User user, UserExtSource userExtSource) Removes user's external source.void
UsersManager.removeUserExtSource
(PerunSession perunSession, User user, UserExtSource userExtSource, boolean forceDelete) Removes user's external source.void
AttributesManager.setAttribute
(PerunSession sess, UserExtSource ues, Attribute attribute) Store the attribute associated with the user external source.void
AttributesManager.setAttributes
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) Store the attributes associated with the user external source.void
Candidate.setUserExtSource
(UserExtSource userExtSource) void
RichUserExtSource.setUserExtSource
(UserExtSource userExtSource) UsersManager.updateUserExtSource
(PerunSession perunSession, UserExtSource userExtSource) Updates user's userExtSource in DB.void
UsersManager.updateUserExtSourceLastAccess
(PerunSession perunSession, UserExtSource userExtSource) Updates user's userExtSource last access time in DB.Modifier and TypeMethodDescriptionUsersManager.getUserByUserExtSources
(PerunSession perunSession, List<UserExtSource> userExtSources) Returns user based on one of the userExtSource.void
UsersManager.removeUserExtSources
(PerunSession perunSession, User user, List<UserExtSource> userExtSources, boolean forceDelete) Removes user's external sources.void
Candidate.setAdditionalUserExtSources
(List<UserExtSource> additionalUserExtSources) void
RichMember.setUserExtSources
(List<UserExtSource> userExtSources) void
RichUser.setUserExtSources
(List<UserExtSource> userExtSources) void
Sponsor.setUserExtSources
(List<UserExtSource> userExtSources) ModifierConstructorDescriptionCandidate
(UserExtSource userExtSource, Map<String, String> attributes) Candidate
(UserExtSource userExtSource, Map<String, String> attributes, List<UserExtSource> additionalUserExtSources) Candidate
(User user, UserExtSource userExtSource) RichUserExtSource
(UserExtSource userExtSource, List<Attribute> attributes) ModifierConstructorDescriptionCandidate
(UserExtSource userExtSource, Map<String, String> attributes, List<UserExtSource> additionalUserExtSources) RichMember
(User user, Member member, List<UserExtSource> userExtSources) RichMember
(User user, Member member, List<UserExtSource> userExtSources, List<Attribute> userAttributes, List<Attribute> memberAttributes) RichUser
(User user, List<UserExtSource> userExtSources) -
Uses of UserExtSource in cz.metacentrum.perun.core.api.exceptions
Modifier and TypeMethodDescriptionUserExtSourceExistsException.getExtSource()
Getter for the userExtSourceUserExtSourceNotExistsException.getExtSource()
Getter for the userExtSourceModifierConstructorDescriptionUserExtSourceExistsException
(UserExtSource userExtSource) Constructor with the userExtSourceUserExtSourceNotExistsException
(UserExtSource userExtSource) Constructor with the userExtSource -
Uses of UserExtSource in cz.metacentrum.perun.core.bl
Modifier and TypeMethodDescriptionUsersManagerBl.addUserExtSource
(PerunSession perunSession, User user, UserExtSource userExtSource) Adds user's external sources.UsersManagerBl.getUserExtSourceByExtLogin
(PerunSession perunSession, ExtSource source, String extLogin) Gets user's external source by the user's external login and external source.UsersManagerBl.getUserExtSourceById
(PerunSession sess, int id) Get the user ext source by its id.UsersManagerBl.getUserExtSourceByUniqueAttributeValue
(PerunSession sess, int attrId, String uniqueValue) Return userExtSource for specific attribute definition (specified by id) and unique value.UsersManagerBl.getUserExtSourceByUniqueAttributeValue
(PerunSession sess, String attrName, String uniqueValue) Return userExtSource for specific attribute definition (specified by id) and unique value.UsersManagerBl.getUserExtSourceFromMultipleIdentifiers
(PerunSession sess, PerunPrincipal principal) Iteratively searches through additional identifiers trying to find userExtSource with the same identifier.UsersManagerBl.updateUserExtSource
(PerunSession perunSession, UserExtSource userExtSource) Updates user's userExtSource in DB.Modifier and TypeMethodDescriptionUsersManagerBl.getActiveUserExtSources
(PerunSession sess, User user) Get all users userExtSources with last_access not older than (now - m), where 'm' is number of months defined in CONSTANT in UsersManagerImpl.UsersManagerBl.getAllUserExtSourcesByTypeAndLogin
(PerunSession sess, String extType, String extLogin) Gets list of all users external sources by specific type and extLogin.UsersManagerBl.getUserExtSources
(PerunSession perunSession, User user) Gets list of all user's external sources of the user.UsersManagerBl.getUserExtSourcesByIds
(PerunSession sess, List<Integer> ids) Get user ext sources by their ids.Modifier and TypeMethodDescriptionUsersManagerBl.addUserExtSource
(PerunSession perunSession, User user, UserExtSource userExtSource) Adds user's external sources.void
AttributesManagerBl.checkAttributeSemantics
(PerunSession sess, UserExtSource ues, Attribute attribute) Check if value of this user ext source attribute has valid semantics.void
AttributesManagerBl.checkAttributesSemantics
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) Batch version of checkAttributeSemanticsvoid
AttributesManagerBl.checkAttributesSyntax
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) Batch version of checkAttributeSyntaxvoid
AttributesManagerBl.checkAttributeSyntax
(PerunSession sess, UserExtSource ues, Attribute attribute) Check if value of this user external source attribute has valid syntax.void
UsersManagerBl.checkUserExtSourceExists
(PerunSession sess, UserExtSource userExtSource) AttributesManagerBl.fillAttribute
(PerunSession sess, UserExtSource ues, Attribute attribute) This method tries to fill value of the user external source attribute.AttributesManagerBl.fillAttributes
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) Batch version of fillAttribute.AttributesManagerBl.getAttribute
(PerunSession sess, UserExtSource ues, String attributeName) Get particular attribute for the User External Source.AttributesManagerBl.getAttributeById
(PerunSession sess, UserExtSource ues, int id) Get particular attribute for the user external sourceAttributesManagerBl.getAttributes
(PerunSession sess, UserExtSource ues) Get all non-empty attributes associated with the UserExtSource.AttributesManagerBl.getAttributes
(PerunSession sess, UserExtSource ues, List<String> attrNames) Get all attributes associated with the UserExtSource which have name in list attrNames (empty and virtual too).MembersManagerBl.getMemberByUserExtSource
(PerunSession perunSession, Vo vo, UserExtSource userExtSource) Find member of this Vo by his login in external sourceUsersManagerBl.getUserByUserExtSource
(PerunSession perunSession, UserExtSource userExtSource) Returns user by his login in external source and external source.void
UsersManagerBl.moveUserExtSource
(PerunSession perunSession, User sourceUser, User targetUser, UserExtSource userExtSource) Take UserExtSource from sourceUser and move it to the targetUser.void
AttributesManagerBl.removeAllAttributes
(PerunSession sess, UserExtSource ues) Unset all attributes for the user external source.void
AttributesManagerBl.removeAttribute
(PerunSession sess, UserExtSource ues, AttributeDefinition attribute) Unset particular attribute for the user external source.void
AttributesManagerBl.removeAttributes
(PerunSession sess, UserExtSource ues, List<? extends AttributeDefinition> attributes) Batch version of removeAttribute.void
UsersManagerBl.removeUserExtSource
(PerunSession perunSession, User user, UserExtSource userExtSource) Removes user's external sources.void
AttributesManagerBl.setAttribute
(PerunSession sess, UserExtSource ues, Attribute attribute) Store the attribute associated with the user external source.void
AttributesManagerBl.setAttributeInNestedTransaction
(PerunSession sess, UserExtSource ues, Attribute attribute) Store the particular attribute associated with the user external source.void
AttributesManagerBl.setAttributes
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) Store the attributes associated with the user external source.UsersManagerBl.updateUserExtSource
(PerunSession perunSession, UserExtSource userExtSource) Updates user's userExtSource in DB.void
UsersManagerBl.updateUserExtSourceLastAccess
(PerunSession perunSession, UserExtSource userExtSource) Updates user's userExtSource last access time in DB.boolean
UsersManagerBl.userExtSourceExists
(PerunSession sess, UserExtSource userExtSource) Modifier and TypeMethodDescriptionMembersManagerBl.getMemberByUserExtSources
(PerunSession perunSession, Vo vo, List<UserExtSource> userExtSources) Get member by its external sources.UsersManagerBl.getUserByUserExtSources
(PerunSession sess, List<UserExtSource> userExtSources) Get the user based on one of the userExtSource. -
Uses of UserExtSource in cz.metacentrum.perun.core.blImpl
Modifier and TypeMethodDescriptionUsersManagerBlImpl.addUserExtSource
(PerunSession sess, User user, UserExtSource userExtSource) UsersManagerBlImpl.getUserExtSourceByExtLogin
(PerunSession sess, ExtSource source, String extLogin) UsersManagerBlImpl.getUserExtSourceById
(PerunSession sess, int id) UsersManagerBlImpl.getUserExtSourceByUniqueAttributeValue
(PerunSession sess, int attrId, String uniqueValue) UsersManagerBlImpl.getUserExtSourceByUniqueAttributeValue
(PerunSession sess, String attrName, String uniqueValue) UsersManagerBlImpl.getUserExtSourceFromMultipleIdentifiers
(PerunSession sess, PerunPrincipal principal) UsersManagerBlImpl.updateUserExtSource
(PerunSession sess, UserExtSource userExtSource) Modifier and TypeMethodDescriptionUsersManagerBlImpl.getActiveUserExtSources
(PerunSession sess, User user) UsersManagerBlImpl.getAllUserExtSourcesByTypeAndLogin
(PerunSession sess, String extType, String extLogin) UsersManagerBlImpl.getUserExtSources
(PerunSession sess, User user) UsersManagerBlImpl.getUserExtSourcesByIds
(PerunSession sess, List<Integer> ids) Modifier and TypeMethodDescriptionUsersManagerBlImpl.addUserExtSource
(PerunSession sess, User user, UserExtSource userExtSource) void
AttributesManagerBlImpl.checkAttributeSemantics
(PerunSession sess, UserExtSource ues, Attribute attribute) void
AttributesManagerBlImpl.checkAttributesSemantics
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) void
AttributesManagerBlImpl.checkAttributesSyntax
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) void
AttributesManagerBlImpl.checkAttributeSyntax
(PerunSession sess, UserExtSource ues, Attribute attribute) void
UsersManagerBlImpl.checkUserExtSourceExists
(PerunSession sess, UserExtSource userExtSource) AttributesManagerBlImpl.fillAttribute
(PerunSession sess, UserExtSource ues, Attribute attribute) AttributesManagerBlImpl.fillAttributes
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) AttributesManagerBlImpl.getAttribute
(PerunSession sess, UserExtSource ues, String attributeName) AttributesManagerBlImpl.getAttributeById
(PerunSession sess, UserExtSource ues, int id) AttributesManagerBlImpl.getAttributes
(PerunSession sess, UserExtSource ues) AttributesManagerBlImpl.getAttributes
(PerunSession sess, UserExtSource ues, List<String> attrNames) MembersManagerBlImpl.getMemberByUserExtSource
(PerunSession sess, Vo vo, UserExtSource uea) UsersManagerBlImpl.getUserByUserExtSource
(PerunSession sess, UserExtSource userExtSource) static boolean
AuthzResolverBlImpl.isAuthorizedForAttribute
(PerunSession sess, ActionType actionType, AttributeDefinition attrDef, UserExtSource ues) Deprecated.static boolean
AuthzResolverBlImpl.isAuthorizedForAttribute
(PerunSession sess, AttributeAction actionType, AttributeDefinition attrDef, UserExtSource ues) void
UsersManagerBlImpl.moveUserExtSource
(PerunSession sess, User sourceUser, User targetUser, UserExtSource userExtSource) void
AttributesManagerBlImpl.removeAllAttributes
(PerunSession sess, UserExtSource ues) void
AttributesManagerBlImpl.removeAttribute
(PerunSession sess, UserExtSource ues, AttributeDefinition attribute) void
AttributesManagerBlImpl.removeAttributes
(PerunSession sess, UserExtSource ues, List<? extends AttributeDefinition> attributes) void
UsersManagerBlImpl.removeUserExtSource
(PerunSession sess, User user, UserExtSource userExtSource) void
AttributesManagerBlImpl.setAttribute
(PerunSession sess, UserExtSource ues, Attribute attribute) void
AttributesManagerBlImpl.setAttributeInNestedTransaction
(PerunSession sess, UserExtSource userExtSource, Attribute attribute) void
AttributesManagerBlImpl.setAttributes
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) void
PerunBlImpl.setUserExtSourceAttributes
(PerunSession session, UserExtSource ues, Map<String, String> additionalAttributes) Store values from map "additionalAttributes" as UserExtSource attributes to specified UES.UsersManagerBlImpl.updateUserExtSource
(PerunSession sess, UserExtSource userExtSource) void
UsersManagerBlImpl.updateUserExtSourceLastAccess
(PerunSession sess, UserExtSource userExtSource) boolean
UsersManagerBlImpl.userExtSourceExists
(PerunSession sess, UserExtSource userExtSource) Modifier and TypeMethodDescriptionMembersManagerBlImpl.getMemberByUserExtSources
(PerunSession sess, Vo vo, List<UserExtSource> ueas) UsersManagerBlImpl.getUserByUserExtSources
(PerunSession sess, List<UserExtSource> userExtSources) -
Uses of UserExtSource in cz.metacentrum.perun.core.entry
Modifier and TypeMethodDescriptionUsersManagerEntry.addUserExtSource
(PerunSession sess, User user, UserExtSource userExtSource) UsersManagerEntry.getUserExtSourceByExtLogin
(PerunSession sess, ExtSource source, String extLogin) UsersManagerEntry.getUserExtSourceById
(PerunSession sess, int id) UsersManagerEntry.getUserExtSourceByUniqueAttributeValue
(PerunSession sess, int attrId, String uniqueValue) UsersManagerEntry.getUserExtSourceByUniqueAttributeValue
(PerunSession sess, String attrName, String uniqueValue) UsersManagerEntry.updateUserExtSource
(PerunSession sess, UserExtSource userExtSource) Modifier and TypeMethodDescriptionUsersManagerEntry.getUserExtSources
(PerunSession sess, User user) UsersManagerEntry.getUserExtSourcesByIds
(PerunSession sess, List<Integer> ids) Modifier and TypeMethodDescriptionUsersManagerEntry.addUserExtSource
(PerunSession sess, User user, UserExtSource userExtSource) UsersManagerEntry.addUserExtSourceWithAttributes
(PerunSession sess, User user, UserExtSource userExtSource, List<Attribute> uesAttributes) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, UserExtSource ues, Attribute attribute) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, UserExtSource ues, Attribute attribute) AttributesManagerEntry.fillAttribute
(PerunSession sess, UserExtSource ues, Attribute attribute) AttributesManagerEntry.fillAttributes
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) AttributesManagerEntry.getAttribute
(PerunSession sess, UserExtSource ues, String attributeName) AttributesManagerEntry.getAttributeById
(PerunSession sess, UserExtSource ues, int id) AttributesManagerEntry.getAttributes
(PerunSession sess, UserExtSource ues) AttributesManagerEntry.getAttributes
(PerunSession sess, UserExtSource ues, List<String> attrNames) MembersManagerEntry.getMemberByUserExtSource
(PerunSession sess, Vo vo, UserExtSource uea) UsersManagerEntry.getUserByUserExtSource
(PerunSession sess, UserExtSource userExtSource) void
UsersManagerEntry.moveUserExtSource
(PerunSession sess, User sourceUser, User targetUser, UserExtSource userExtSource) void
AttributesManagerEntry.removeAllAttributes
(PerunSession sess, UserExtSource ues) void
AttributesManagerEntry.removeAttribute
(PerunSession sess, UserExtSource ues, AttributeDefinition attribute) void
AttributesManagerEntry.removeAttributes
(PerunSession sess, UserExtSource ues, List<? extends AttributeDefinition> attributes) void
UsersManagerEntry.removeUserExtSource
(PerunSession sess, User user, UserExtSource userExtSource) void
UsersManagerEntry.removeUserExtSource
(PerunSession sess, User user, UserExtSource userExtSource, boolean forceDelete) void
AttributesManagerEntry.setAttribute
(PerunSession sess, UserExtSource ues, Attribute attribute) void
AttributesManagerEntry.setAttributes
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) UsersManagerEntry.updateUserExtSource
(PerunSession sess, UserExtSource userExtSource) void
UsersManagerEntry.updateUserExtSourceLastAccess
(PerunSession sess, UserExtSource userExtSource) Modifier and TypeMethodDescriptionUsersManagerEntry.getUserByUserExtSources
(PerunSession sess, List<UserExtSource> userExtSources) void
UsersManagerEntry.removeUserExtSources
(PerunSession sess, User user, List<UserExtSource> userExtSources, boolean forceDelete) -
Uses of UserExtSource in cz.metacentrum.perun.core.impl
Modifier and TypeFieldDescriptionprotected static final RowMapper
<UserExtSource> UsersManagerImpl.USEREXTSOURCE_MAPPER
Modifier and TypeMethodDescriptionUsersManagerImpl.addUserExtSource
(PerunSession sess, User user, UserExtSource userExtSource) UsersManagerImpl.getUserExtSourceByExtLogin
(PerunSession sess, ExtSource source, String extLogin) UsersManagerImpl.getUserExtSourceById
(PerunSession sess, int id) UsersManagerImpl.getUserExtSourceByUniqueAttributeValue
(PerunSession sess, int attrId, String uniqueValue) UsersManagerImpl.updateUserExtSource
(PerunSession sess, UserExtSource userExtSource) Modifier and TypeMethodDescriptionUsersManagerImpl.getActiveUserExtSources
(PerunSession sess, User user) UsersManagerImpl.getAllUserExtSourcesByTypeAndLogin
(PerunSession sess, String extType, String extLogin) UsersManagerImpl.getUserExtSources
(PerunSession sess, User user) UsersManagerImpl.getUserExtSourcesByIds
(PerunSession sess, List<Integer> ids) Modifier and TypeMethodDescriptionUsersManagerImpl.addUserExtSource
(PerunSession sess, User user, UserExtSource userExtSource) void
AttributesManagerImpl.changedAttributeHook
(PerunSession sess, UserExtSource ues, Attribute attribute) void
AttributesManagerImpl.checkAttributeSemantics
(PerunSession sess, UserExtSource ues, Attribute attribute) void
AttributesManagerImpl.checkAttributeSyntax
(PerunSession sess, UserExtSource ues, Attribute attribute) void
UsersManagerImpl.checkUserExtSourceExists
(PerunSession sess, UserExtSource userExtSource) AttributesManagerImpl.fillAttribute
(PerunSession sess, UserExtSource ues, Attribute attribute) AttributesManagerImpl.getAttribute
(PerunSession sess, UserExtSource ues, String attributeName) AttributesManagerImpl.getAttributeById
(PerunSession sess, UserExtSource ues, int id) AttributesManagerImpl.getAttributes
(PerunSession sess, UserExtSource ues) AttributesManagerImpl.getAttributes
(PerunSession sess, UserExtSource ues, List<String> attrNames) MembersManagerImpl.getMemberByUserExtSource
(PerunSession sess, Vo vo, UserExtSource userExtSource) UsersManagerImpl.getUserByUserExtSource
(PerunSession sess, UserExtSource userExtSource) AttributesManagerImpl.getVirtualAttributes
(PerunSession sess, UserExtSource ues) boolean
AttributesManagerImpl.removeAllAttributes
(PerunSession sess, UserExtSource ues) boolean
AttributesManagerImpl.removeAttribute
(PerunSession sess, UserExtSource ues, AttributeDefinition attribute) void
UsersManagerImpl.removeUserExtSource
(PerunSession sess, User user, UserExtSource userExtSource) static void
Utils.sendIdentityAddedAlerts
(PerunSession sess, UserExtSource newUes) Sends all alerts about an identity being added.static void
Utils.sendIdentityRemovedAlerts
(PerunSession sess, UserExtSource removedUes, List<Attribute> uesAttrs) Sends all alerts about an identity being removed.boolean
AttributesManagerImpl.setVirtualAttribute
(PerunSession sess, UserExtSource ues, Attribute attribute) UsersManagerImpl.updateUserExtSource
(PerunSession sess, UserExtSource userExtSource) void
UsersManagerImpl.updateUserExtSourceLastAccess
(PerunSession sess, UserExtSource userExtSource) boolean
UsersManagerImpl.userExtSourceExists
(PerunSession sess, UserExtSource userExtSource) -
Uses of UserExtSource in cz.metacentrum.perun.core.impl.modules.attributes
Modifier and TypeMethodDescriptionurn_perun_user_attribute_def_virt_eduPersonORCID.getExtSourceFilter
(PerunSessionImpl sess) urn_perun_user_attribute_def_virt_mails_namespace_google.getExtSourceFilter
(PerunSessionImpl sess) urn_perun_user_attribute_def_virt_mails_namespace_microsoft.getExtSourceFilter
(PerunSessionImpl sess) Modifier and TypeMethodDescriptionvoid
urn_perun_ues_attribute_def_def_isCesnetEligibleLastSeen.changedAttributeHook
(PerunSessionImpl session, UserExtSource ues, Attribute attribute) When isCesnetEligibleLastSeen of a user's ext source is set, check if it is more recent than the user's current isCesnetEligibleLastSeen.void
urn_perun_ues_attribute_def_def_isCesnetEligibleLastSeen.checkAttributeSyntax
(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) urn_perun_user_attribute_def_virt_alternativeLoginNames.modifyValue
(PerunSession session, UserVirtualAttributeCollectedFromUserExtSource.ModifyValueContext ctx, UserExtSource ues, String value) urn_perun_user_attribute_def_virt_eduPersonORCID.modifyValue
(PerunSession session, UserVirtualAttributeCollectedFromUserExtSource.ModifyValueContext ctx, UserExtSource ues, String value) urn_perun_user_attribute_def_virt_institutionsCountries.modifyValue
(PerunSession session, cz.metacentrum.perun.core.impl.modules.attributes.DnsMapCtx ctx, UserExtSource ues, String value) Replaces DNS domain with country name, or null. -
Uses of UserExtSource in cz.metacentrum.perun.core.implApi
Modifier and TypeMethodDescriptionUsersManagerImplApi.addUserExtSource
(PerunSession perunSession, User user, UserExtSource userExtSource) Adds user's external sources.UsersManagerImplApi.getUserExtSourceByExtLogin
(PerunSession perunSession, ExtSource source, String extLogin) Gets user's external source by the user's external login and external source.UsersManagerImplApi.getUserExtSourceById
(PerunSession sess, int id) Get the user ext source by its id.UsersManagerImplApi.getUserExtSourceByUniqueAttributeValue
(PerunSession sess, int attrId, String uniqueValue) Return userExtSource for specific attribute id and unique value.UsersManagerImplApi.updateUserExtSource
(PerunSession perunSession, UserExtSource userExtSource) Updates user;s userExtSource in DB.Modifier and TypeMethodDescriptionUsersManagerImplApi.getActiveUserExtSources
(PerunSession sess, User user) Get all users userExtSources with last_access not older than (now - m), where 'm' is number of months defined in CONSTANT in UsersManagerImpl.UsersManagerImplApi.getAllUserExtSourcesByTypeAndLogin
(PerunSession sess, String extType, String extLogin) Gets list of all users external sources by specific type and extLogin.UsersManagerImplApi.getUserExtSources
(PerunSession sess, User user) Get List of user ext sources by userUsersManagerImplApi.getUserExtSourcesByIds
(PerunSession sess, List<Integer> ids) Gets user ext sources by their ids.Modifier and TypeMethodDescriptionUsersManagerImplApi.addUserExtSource
(PerunSession perunSession, User user, UserExtSource userExtSource) Adds user's external sources.void
AttributesManagerImplApi.changedAttributeHook
(PerunSession sess, UserExtSource ues, Attribute attribute) If you need to do some further work with other modules, this method do thatvoid
AttributesManagerImplApi.checkAttributeSemantics
(PerunSession sess, UserExtSource ues, Attribute attribute) Check if value of this user external source attribute has valid semantics.void
AttributesManagerImplApi.checkAttributeSyntax
(PerunSession sess, UserExtSource ues, Attribute attribute) Check if value of this user external source attribute has valid syntax.void
UsersManagerImplApi.checkUserExtSourceExists
(PerunSession perunSession, UserExtSource userExtSource) Check if userExtSource exists in underlaying data source by identity (login/extSource combination)AttributesManagerImplApi.fillAttribute
(PerunSession sess, UserExtSource ues, Attribute attribute) This method try to fill value of the user external source attribute.AttributesManagerImplApi.getAttribute
(PerunSession sess, UserExtSource ues, String attributeName) Get particular attribute for the User External Source.AttributesManagerImplApi.getAttributeById
(PerunSession sess, UserExtSource ues, int id) Get particular attribute for the user external source.AttributesManagerImplApi.getAttributes
(PerunSession sess, UserExtSource ues) Get all non-empty attributes associated with the UserExtSource.AttributesManagerImplApi.getAttributes
(PerunSession sess, UserExtSource ues, List<String> attrNames) Get all attributes associated with the UserExtSource which have name in list attrNames (empty and virtual too).MembersManagerImplApi.getMemberByUserExtSource
(PerunSession perunSession, Vo vo, UserExtSource userExtSource) Find member of this Vo by his login in external sourceUsersManagerImplApi.getUserByUserExtSource
(PerunSession perunSession, UserExtSource userExtSource) Returns user by his login in external source.AttributesManagerImplApi.getVirtualAttributes
(PerunSession sess, UserExtSource ues) Get all virtual attributes associated with the UserExtSource.boolean
AttributesManagerImplApi.removeAllAttributes
(PerunSession sess, UserExtSource ues) Unset all UserExtSource attributes for the user external source.boolean
AttributesManagerImplApi.removeAttribute
(PerunSession sess, UserExtSource ues, AttributeDefinition attribute) Unset particular user external source attributevoid
UsersManagerImplApi.removeUserExtSource
(PerunSession perunSession, User user, UserExtSource userExtSource) Removes user's external sources.boolean
AttributesManagerImplApi.setVirtualAttribute
(PerunSession sess, UserExtSource ues, Attribute attribute) Store the particular virtual attribute associated with the user external source.UsersManagerImplApi.updateUserExtSource
(PerunSession perunSession, UserExtSource userExtSource) Updates user;s userExtSource in DB.void
UsersManagerImplApi.updateUserExtSourceLastAccess
(PerunSession perunSession, UserExtSource userExtSource) Updates user's userExtSource last access time in DB.boolean
UsersManagerImplApi.userExtSourceExists
(PerunSession perunSession, UserExtSource userExtSource) Check if userExtSource exists in underlaying data source. -
Uses of UserExtSource in cz.metacentrum.perun.core.implApi.modules.attributes
Modifier and TypeMethodDescriptionprotected Predicate
<UserExtSource> UserVirtualAttributeCollectedFromUserExtSource.getExtSourceFilter
(PerunSessionImpl sess) Override this method to filter the user ext sources (collect the value from the UES only if it passes the filter).Modifier and TypeMethodDescriptionvoid
UserExtSourceAttributesModuleAbstract.changedAttributeHook
(PerunSessionImpl session, UserExtSource ues, Attribute attribute) void
UserExtSourceAttributesModuleImplApi.changedAttributeHook
(PerunSessionImpl session, UserExtSource ues, Attribute attribute) If you need to do some further work with other modules, this method do thatvoid
UserExtSourceAttributesModuleAbstract.checkAttributeSemantics
(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) void
UserExtSourceAttributesModuleImplApi.checkAttributeSemantics
(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) This method checks UserExtSource attribute value semantics.void
UserExtSourceAttributesModuleAbstract.checkAttributeSyntax
(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) void
UserExtSourceAttributesModuleImplApi.checkAttributeSyntax
(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) This method checks UserExtSource attribute value syntax.UserExtSourceAttributesModuleAbstract.fillAttribute
(PerunSessionImpl session, UserExtSource ues, AttributeDefinition attribute) UserExtSourceAttributesModuleImplApi.fillAttribute
(PerunSessionImpl perunSession, UserExtSource ues, AttributeDefinition attribute) This method fill UserExtSource attributes.UserExtSourceVirtualAttributesModuleAbstract.getAttributeValue
(PerunSessionImpl perunSession, UserExtSource ues, AttributeDefinition attribute) UserExtSourceVirtualAttributesModuleImplApi.getAttributeValue
(PerunSessionImpl sess, UserExtSource ues, AttributeDefinition attribute) This method will return computed value.protected boolean
UserVirtualAttributeCollectedFromUserExtSource.isLastAccessValid
(UserExtSource ues) Checks configuration properties idpLoginValidity if last access is not outdated.UserVirtualAttributeCollectedFromUserExtSource.modifyValue
(PerunSession session, T ctx, UserExtSource ues, String value) Override this method if you need to modify the original values.boolean
UserExtSourceVirtualAttributesModuleAbstract.removeAttributeValue
(PerunSessionImpl perunSession, UserExtSource ues, AttributeDefinition attribute) boolean
UserExtSourceVirtualAttributesModuleImplApi.removeAttributeValue
(PerunSessionImpl sess, UserExtSource ues, AttributeDefinition attribute) Currently do nothing.boolean
UserExtSourceVirtualAttributesModuleAbstract.setAttributeValue
(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) boolean
UserExtSourceVirtualAttributesModuleImplApi.setAttributeValue
(PerunSessionImpl sess, UserExtSource ues, Attribute attribute) Method sets attributes' values which are dependent on this virtual attribute.