Uses of Class
cz.metacentrum.perun.core.api.UserExtSource
Packages that use UserExtSource
Package
Description
Exceptions.
-
Uses of UserExtSource in cz.metacentrum.perun.audit.events.AttributesManagerEvents
Methods in cz.metacentrum.perun.audit.events.AttributesManagerEvents that return UserExtSourceModifier and TypeMethodDescriptionAttributeRemovedForUes.getUes()AttributeSetForUes.getUes()AllAttributesRemovedForUserExtSource.getUserExtSource()Constructors in cz.metacentrum.perun.audit.events.AttributesManagerEvents with parameters of type UserExtSourceModifierConstructorDescriptionAllAttributesRemovedForUserExtSource(UserExtSource userExtSource) AttributeRemovedForUes(AttributeDefinition attribute, UserExtSource ues) AttributeSetForUes(Attribute attribute, UserExtSource ues) -
Uses of UserExtSource in cz.metacentrum.perun.audit.events.UserManagerEvents
Methods in cz.metacentrum.perun.audit.events.UserManagerEvents that return UserExtSourceModifier and TypeMethodDescriptionUserExtSourceAddedToUser.getUserExtSource()UserExtSourceRemovedFromUser.getUserExtSource()UserExtSourceUpdated.getUserExtSource()Constructors in cz.metacentrum.perun.audit.events.UserManagerEvents with parameters of type UserExtSourceModifierConstructorDescriptionUserExtSourceAddedToUser(UserExtSource userExtSource, User user) UserExtSourceRemovedFromUser(UserExtSource userExtSource, User user) UserExtSourceUpdated(UserExtSource userExtSource) -
Uses of UserExtSource in cz.metacentrum.perun.core.api
Methods in cz.metacentrum.perun.core.api that return UserExtSourceModifier and TypeMethodDescriptionUsersManager.addUserExtSource(PerunSession perunSession, User user, UserExtSource userExtSource) Adds user's external sources.RichUserExtSource.asUserExtSource()View method used for accessing the originalUserExtSourceobject 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.Methods in cz.metacentrum.perun.core.api that return types with arguments of type UserExtSourceModifier 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.Methods in cz.metacentrum.perun.core.api with parameters of type UserExtSourceModifier and TypeMethodDescriptionvoidRichMember.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.voidAttributesManager.checkAttributeSemantics(PerunSession sess, UserExtSource ues, Attribute attribute) Checks if value of this user external source attribute has valid semantics.voidAttributesManager.checkAttributesSemantics(PerunSession sess, UserExtSource ues, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.voidAttributesManager.checkAttributesSyntax(PerunSession sess, UserExtSource ues, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.voidAttributesManager.checkAttributeSyntax(PerunSession sess, UserExtSource ues, Attribute attribute) Checks if value of this user external source attribute has valid syntaxstatic CandidateBeansUtils.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 booleanAuthzResolver.isAuthorizedForAttribute(PerunSession sess, AttributeAction actionType, AttributeDefinition attrDef, UserExtSource ues, boolean checkMfa) Checks if the principal is authorized to do some action of ues attribute.voidUsersManager.moveUserExtSource(PerunSession perunSession, User sourceUser, User targetUser, UserExtSource userExtSource) Take UserExtSource from sourceUser and move it to the targetUser.voidAttributesManager.removeAllAttributes(PerunSession sess, UserExtSource ues) Unset all attributes for the user external source.voidAttributesManager.removeAttribute(PerunSession sess, UserExtSource ues, AttributeDefinition attribute) Unset particular attribute for the user external source.voidAttributesManager.removeAttributes(PerunSession sess, UserExtSource ues, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.voidUsersManager.removeUserExtSource(PerunSession perunSession, User user, UserExtSource userExtSource) Removes user's external source.voidUsersManager.removeUserExtSource(PerunSession perunSession, User user, UserExtSource userExtSource, boolean forceDelete) Removes user's external source.voidAttributesManager.setAttribute(PerunSession sess, UserExtSource ues, Attribute attribute) Store the attribute associated with the user external source.voidAttributesManager.setAttributes(PerunSession sess, UserExtSource ues, List<Attribute> attributes) Store the attributes associated with the user external source.voidCandidate.setUserExtSource(UserExtSource userExtSource) voidRichUserExtSource.setUserExtSource(UserExtSource userExtSource) UsersManager.updateUserExtSource(PerunSession perunSession, UserExtSource userExtSource) Updates user's userExtSource in DB.voidUsersManager.updateUserExtSourceLastAccess(PerunSession perunSession, UserExtSource userExtSource) Updates user's userExtSource last access time in DB.Method parameters in cz.metacentrum.perun.core.api with type arguments of type UserExtSourceModifier and TypeMethodDescriptionUsersManager.getUserByUserExtSources(PerunSession perunSession, List<UserExtSource> userExtSources) Returns user based on one of the userExtSource.voidUsersManager.removeUserExtSources(PerunSession perunSession, User user, List<UserExtSource> userExtSources, boolean forceDelete) Removes user's external sources.voidCandidate.setAdditionalUserExtSources(List<UserExtSource> additionalUserExtSources) voidRichMember.setUserExtSources(List<UserExtSource> userExtSources) voidRichUser.setUserExtSources(List<UserExtSource> userExtSources) voidSponsor.setUserExtSources(List<UserExtSource> userExtSources) Constructors in cz.metacentrum.perun.core.api with parameters of type UserExtSourceModifierConstructorDescriptionCandidate(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) Constructor parameters in cz.metacentrum.perun.core.api with type arguments of type UserExtSourceModifierConstructorDescriptionCandidate(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
Methods in cz.metacentrum.perun.core.api.exceptions that return UserExtSourceModifier and TypeMethodDescriptionUserExtSourceExistsException.getExtSource()Getter for the userExtSourceUserExtSourceNotExistsException.getExtSource()Getter for the userExtSourceConstructors in cz.metacentrum.perun.core.api.exceptions with parameters of type UserExtSourceModifierConstructorDescriptionUserExtSourceExistsException(UserExtSource userExtSource) Constructor with the userExtSourceUserExtSourceNotExistsException(UserExtSource userExtSource) Constructor with the userExtSource -
Uses of UserExtSource in cz.metacentrum.perun.core.bl
Methods in cz.metacentrum.perun.core.bl that return UserExtSourceModifier 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.Methods in cz.metacentrum.perun.core.bl that return types with arguments of type UserExtSourceModifier 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.Methods in cz.metacentrum.perun.core.bl with parameters of type UserExtSourceModifier and TypeMethodDescriptionUsersManagerBl.addUserExtSource(PerunSession perunSession, User user, UserExtSource userExtSource) Adds user's external sources.voidAttributesManagerBl.checkAttributeSemantics(PerunSession sess, UserExtSource ues, Attribute attribute) Check if value of this user ext source attribute has valid semantics.voidAttributesManagerBl.checkAttributesSemantics(PerunSession sess, UserExtSource ues, List<Attribute> attributes) Batch version of checkAttributeSemanticsvoidAttributesManagerBl.checkAttributesSyntax(PerunSession sess, UserExtSource ues, List<Attribute> attributes) Batch version of checkAttributeSyntaxvoidAttributesManagerBl.checkAttributeSyntax(PerunSession sess, UserExtSource ues, Attribute attribute) Check if value of this user external source attribute has valid syntax.voidUsersManagerBl.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.voidUsersManagerBl.moveUserExtSource(PerunSession perunSession, User sourceUser, User targetUser, UserExtSource userExtSource) Take UserExtSource from sourceUser and move it to the targetUser.voidAttributesManagerBl.removeAllAttributes(PerunSession sess, UserExtSource ues) Unset all attributes for the user external source.voidAttributesManagerBl.removeAttribute(PerunSession sess, UserExtSource ues, AttributeDefinition attribute) Unset particular attribute for the user external source.voidAttributesManagerBl.removeAttributes(PerunSession sess, UserExtSource ues, List<? extends AttributeDefinition> attributes) Batch version of removeAttribute.voidUsersManagerBl.removeUserExtSource(PerunSession perunSession, User user, UserExtSource userExtSource) Removes user's external sources.voidAttributesManagerBl.setAttribute(PerunSession sess, UserExtSource ues, Attribute attribute) Store the attribute associated with the user external source.voidAttributesManagerBl.setAttributeInNestedTransaction(PerunSession sess, UserExtSource ues, Attribute attribute) Store the particular attribute associated with the user external source.voidAttributesManagerBl.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.voidUsersManagerBl.updateUserExtSourceLastAccess(PerunSession perunSession, UserExtSource userExtSource) Updates user's userExtSource last access time in DB.booleanUsersManagerBl.userExtSourceExists(PerunSession sess, UserExtSource userExtSource) Method parameters in cz.metacentrum.perun.core.bl with type arguments of type UserExtSourceModifier 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
Methods in cz.metacentrum.perun.core.blImpl that return UserExtSourceModifier 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) Methods in cz.metacentrum.perun.core.blImpl that return types with arguments of type UserExtSourceModifier 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) Methods in cz.metacentrum.perun.core.blImpl with parameters of type UserExtSourceModifier and TypeMethodDescriptionUsersManagerBlImpl.addUserExtSource(PerunSession sess, User user, UserExtSource userExtSource) voidAttributesManagerBlImpl.checkAttributeSemantics(PerunSession sess, UserExtSource ues, Attribute attribute) voidAttributesManagerBlImpl.checkAttributesSemantics(PerunSession sess, UserExtSource ues, List<Attribute> attributes) voidAttributesManagerBlImpl.checkAttributesSyntax(PerunSession sess, UserExtSource ues, List<Attribute> attributes) voidAttributesManagerBlImpl.checkAttributeSyntax(PerunSession sess, UserExtSource ues, Attribute attribute) voidUsersManagerBlImpl.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 booleanAuthzResolverBlImpl.isAuthorizedForAttribute(PerunSession sess, AttributeAction actionType, AttributeDefinition attrDef, UserExtSource ues) voidUsersManagerBlImpl.moveUserExtSource(PerunSession sess, User sourceUser, User targetUser, UserExtSource userExtSource) voidAttributesManagerBlImpl.removeAllAttributes(PerunSession sess, UserExtSource ues) voidAttributesManagerBlImpl.removeAttribute(PerunSession sess, UserExtSource ues, AttributeDefinition attribute) voidAttributesManagerBlImpl.removeAttributes(PerunSession sess, UserExtSource ues, List<? extends AttributeDefinition> attributes) voidUsersManagerBlImpl.removeUserExtSource(PerunSession sess, User user, UserExtSource userExtSource) voidAttributesManagerBlImpl.setAttribute(PerunSession sess, UserExtSource ues, Attribute attribute) voidAttributesManagerBlImpl.setAttributeInNestedTransaction(PerunSession sess, UserExtSource userExtSource, Attribute attribute) voidAttributesManagerBlImpl.setAttributes(PerunSession sess, UserExtSource ues, List<Attribute> attributes) voidPerunBlImpl.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) voidUsersManagerBlImpl.updateUserExtSourceLastAccess(PerunSession sess, UserExtSource userExtSource) booleanUsersManagerBlImpl.userExtSourceExists(PerunSession sess, UserExtSource userExtSource) Method parameters in cz.metacentrum.perun.core.blImpl with type arguments of type UserExtSourceModifier 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
Methods in cz.metacentrum.perun.core.entry that return UserExtSourceModifier 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) Methods in cz.metacentrum.perun.core.entry that return types with arguments of type UserExtSourceModifier and TypeMethodDescriptionUsersManagerEntry.getUserExtSources(PerunSession sess, User user) UsersManagerEntry.getUserExtSourcesByIds(PerunSession sess, List<Integer> ids) Methods in cz.metacentrum.perun.core.entry with parameters of type UserExtSourceModifier and TypeMethodDescriptionUsersManagerEntry.addUserExtSource(PerunSession sess, User user, UserExtSource userExtSource) UsersManagerEntry.addUserExtSourceWithAttributes(PerunSession sess, User user, UserExtSource userExtSource, List<Attribute> uesAttributes) voidAttributesManagerEntry.checkAttributeSemantics(PerunSession sess, UserExtSource ues, Attribute attribute) voidAttributesManagerEntry.checkAttributesSemantics(PerunSession sess, UserExtSource ues, List<Attribute> attributes) voidAttributesManagerEntry.checkAttributesSyntax(PerunSession sess, UserExtSource ues, List<Attribute> attributes) voidAttributesManagerEntry.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) voidUsersManagerEntry.moveUserExtSource(PerunSession sess, User sourceUser, User targetUser, UserExtSource userExtSource) voidAttributesManagerEntry.removeAllAttributes(PerunSession sess, UserExtSource ues) voidAttributesManagerEntry.removeAttribute(PerunSession sess, UserExtSource ues, AttributeDefinition attribute) voidAttributesManagerEntry.removeAttributes(PerunSession sess, UserExtSource ues, List<? extends AttributeDefinition> attributes) voidUsersManagerEntry.removeUserExtSource(PerunSession sess, User user, UserExtSource userExtSource) voidUsersManagerEntry.removeUserExtSource(PerunSession sess, User user, UserExtSource userExtSource, boolean forceDelete) voidAttributesManagerEntry.setAttribute(PerunSession sess, UserExtSource ues, Attribute attribute) voidAttributesManagerEntry.setAttributes(PerunSession sess, UserExtSource ues, List<Attribute> attributes) UsersManagerEntry.updateUserExtSource(PerunSession sess, UserExtSource userExtSource) voidUsersManagerEntry.updateUserExtSourceLastAccess(PerunSession sess, UserExtSource userExtSource) Method parameters in cz.metacentrum.perun.core.entry with type arguments of type UserExtSourceModifier and TypeMethodDescriptionUsersManagerEntry.getUserByUserExtSources(PerunSession sess, List<UserExtSource> userExtSources) voidUsersManagerEntry.removeUserExtSources(PerunSession sess, User user, List<UserExtSource> userExtSources, boolean forceDelete) -
Uses of UserExtSource in cz.metacentrum.perun.core.impl
Fields in cz.metacentrum.perun.core.impl with type parameters of type UserExtSourceModifier and TypeFieldDescriptionprotected static final RowMapper<UserExtSource> UsersManagerImpl.USEREXTSOURCE_MAPPERMethods in cz.metacentrum.perun.core.impl that return UserExtSourceModifier 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) Methods in cz.metacentrum.perun.core.impl that return types with arguments of type UserExtSourceModifier 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) Methods in cz.metacentrum.perun.core.impl with parameters of type UserExtSourceModifier and TypeMethodDescriptionUsersManagerImpl.addUserExtSource(PerunSession sess, User user, UserExtSource userExtSource) voidAttributesManagerImpl.changedAttributeHook(PerunSession sess, UserExtSource ues, Attribute attribute) voidAttributesManagerImpl.checkAttributeSemantics(PerunSession sess, UserExtSource ues, Attribute attribute) voidAttributesManagerImpl.checkAttributeSyntax(PerunSession sess, UserExtSource ues, Attribute attribute) voidUsersManagerImpl.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) booleanAttributesManagerImpl.removeAllAttributes(PerunSession sess, UserExtSource ues) booleanAttributesManagerImpl.removeAttribute(PerunSession sess, UserExtSource ues, AttributeDefinition attribute) voidUsersManagerImpl.removeUserExtSource(PerunSession sess, User user, UserExtSource userExtSource) static voidUtils.sendIdentityAddedAlerts(PerunSession sess, UserExtSource newUes) Sends all alerts about an identity being added.static voidUtils.sendIdentityRemovedAlerts(PerunSession sess, UserExtSource removedUes, List<Attribute> uesAttrs) Sends all alerts about an identity being removed.booleanAttributesManagerImpl.setVirtualAttribute(PerunSession sess, UserExtSource ues, Attribute attribute) UsersManagerImpl.updateUserExtSource(PerunSession sess, UserExtSource userExtSource) voidUsersManagerImpl.updateUserExtSourceLastAccess(PerunSession sess, UserExtSource userExtSource) booleanUsersManagerImpl.userExtSourceExists(PerunSession sess, UserExtSource userExtSource) -
Uses of UserExtSource in cz.metacentrum.perun.core.impl.modules.attributes
Methods in cz.metacentrum.perun.core.impl.modules.attributes that return types with arguments of type UserExtSourceModifier 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) Methods in cz.metacentrum.perun.core.impl.modules.attributes with parameters of type UserExtSourceModifier and TypeMethodDescriptionvoidurn_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.voidurn_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
Methods in cz.metacentrum.perun.core.implApi that return UserExtSourceModifier 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.Methods in cz.metacentrum.perun.core.implApi that return types with arguments of type UserExtSourceModifier 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.Methods in cz.metacentrum.perun.core.implApi with parameters of type UserExtSourceModifier and TypeMethodDescriptionUsersManagerImplApi.addUserExtSource(PerunSession perunSession, User user, UserExtSource userExtSource) Adds user's external sources.voidAttributesManagerImplApi.changedAttributeHook(PerunSession sess, UserExtSource ues, Attribute attribute) If you need to do some further work with other modules, this method do thatvoidAttributesManagerImplApi.checkAttributeSemantics(PerunSession sess, UserExtSource ues, Attribute attribute) Check if value of this user external source attribute has valid semantics.voidAttributesManagerImplApi.checkAttributeSyntax(PerunSession sess, UserExtSource ues, Attribute attribute) Check if value of this user external source attribute has valid syntax.voidUsersManagerImplApi.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.booleanAttributesManagerImplApi.removeAllAttributes(PerunSession sess, UserExtSource ues) Unset all UserExtSource attributes for the user external source.booleanAttributesManagerImplApi.removeAttribute(PerunSession sess, UserExtSource ues, AttributeDefinition attribute) Unset particular user external source attributevoidUsersManagerImplApi.removeUserExtSource(PerunSession perunSession, User user, UserExtSource userExtSource) Removes user's external sources.booleanAttributesManagerImplApi.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.voidUsersManagerImplApi.updateUserExtSourceLastAccess(PerunSession perunSession, UserExtSource userExtSource) Updates user's userExtSource last access time in DB.booleanUsersManagerImplApi.userExtSourceExists(PerunSession perunSession, UserExtSource userExtSource) Check if userExtSource exists in underlaying data source. -
Uses of UserExtSource in cz.metacentrum.perun.core.implApi.modules.attributes
Methods in cz.metacentrum.perun.core.implApi.modules.attributes that return types with arguments of type UserExtSourceModifier 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).Methods in cz.metacentrum.perun.core.implApi.modules.attributes with parameters of type UserExtSourceModifier and TypeMethodDescriptionvoidUserExtSourceAttributesModuleAbstract.changedAttributeHook(PerunSessionImpl session, UserExtSource ues, Attribute attribute) voidUserExtSourceAttributesModuleImplApi.changedAttributeHook(PerunSessionImpl session, UserExtSource ues, Attribute attribute) If you need to do some further work with other modules, this method do thatvoidUserExtSourceAttributesModuleAbstract.checkAttributeSemantics(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) voidUserExtSourceAttributesModuleImplApi.checkAttributeSemantics(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) This method checks UserExtSource attribute value semantics.voidUserExtSourceAttributesModuleAbstract.checkAttributeSyntax(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) voidUserExtSourceAttributesModuleImplApi.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 booleanUserVirtualAttributeCollectedFromUserExtSource.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.booleanUserExtSourceVirtualAttributesModuleAbstract.removeAttributeValue(PerunSessionImpl perunSession, UserExtSource ues, AttributeDefinition attribute) booleanUserExtSourceVirtualAttributesModuleImplApi.removeAttributeValue(PerunSessionImpl sess, UserExtSource ues, AttributeDefinition attribute) Currently do nothing.booleanUserExtSourceVirtualAttributesModuleAbstract.setAttributeValue(PerunSessionImpl perunSession, UserExtSource ues, Attribute attribute) booleanUserExtSourceVirtualAttributesModuleImplApi.setAttributeValue(PerunSessionImpl sess, UserExtSource ues, Attribute attribute) Method sets attributes' values which are dependent on this virtual attribute.