Uses of Class
cz.metacentrum.perun.core.api.exceptions.PrivilegeException
Package
Description
-
Uses of PrivilegeException in cz.metacentrum.perun.core.api
Modifier and TypeMethodDescriptionvoid
ResourcesManager.activateGroupResourceAssignment
(PerunSession session, Group group, Resource resource, boolean async) Try to activate the group-resource status.void
FacilitiesManager.addAdmin
(PerunSession sess, Facility facility, Group group) Adds group administrator to the Facility.void
FacilitiesManager.addAdmin
(PerunSession sess, Facility facility, User user) Adds user administrator to the Facility.void
GroupsManager.addAdmin
(PerunSession perunSession, Group group, Group authorizedGroup) Adds a group administrator to the group.void
GroupsManager.addAdmin
(PerunSession perunSession, Group group, User user) Adds a user administrator of the group.void
ResourcesManager.addAdmin
(PerunSession sess, Resource resource, Group group) Add role resource admin to group for the selected resource.void
ResourcesManager.addAdmin
(PerunSession sess, Resource resource, User user) Add role resource admin to user for the selected resource.void
SecurityTeamsManager.addAdmin
(PerunSession perunSession, SecurityTeam securityTeam, Group group) Create group as security admins group of given security team (all users in group will have security admin rights)void
SecurityTeamsManager.addAdmin
(PerunSession perunSession, SecurityTeam securityTeam, User user) create security admin from given user and add him as security admin of given security teamvoid
VosManager.addAdmin
(PerunSession perunSession, Vo vo, Group group) Add a group administrator to the VO.void
VosManager.addAdmin
(PerunSession perunSession, Vo vo, User user) Add a user administrator to the VO.ServicesManager.addDestination
(PerunSession perunSession, Service service, Facility facility, Destination destination) Adds an destination for the facility and service.ServicesManager.addDestination
(PerunSession perunSession, List<Service> services, Facility facility, Destination destination) Adds an destination for the facility and all services.ServicesManager.addDestinationsDefinedByHostsOnFacility
(PerunSession perunSession, Facility facility) Defines services destination for all hosts using their hostnames.ServicesManager.addDestinationsDefinedByHostsOnFacility
(PerunSession perunSession, Service service, Facility facility) Defines service destination for all hosts using theirs hostnames.ServicesManager.addDestinationsDefinedByHostsOnFacility
(PerunSession perunSession, List<Service> services, Facility facility) Defines services destination for all hosts using their hostnames.ServicesManager.addDestinationsForAllServicesOnFacility
(PerunSession perunSession, Facility facility, Destination destination) Adds destination for all services defined on the facility.void
ExtSourcesManager.addExtSource
(PerunSession perunSession, Group group, ExtSource source) Associate external source definition with the GROUP.void
ExtSourcesManager.addExtSource
(PerunSession perunSession, Vo vo, ExtSource source) Associate external source definition with the VO.void
ExtSourcesManager.addExtSources
(PerunSession perunSession, Group group, List<ExtSource> sources) Associate external source definitions with the group.void
ExtSourcesManager.addExtSources
(PerunSession perunSession, Vo vo, List<ExtSource> sources) Associate external source definitions with the VO.FacilitiesManager.addHost
(PerunSession perunSession, Host host, Facility facility) Adds host to the Facility.FacilitiesManager.addHosts
(PerunSession sess, Facility facility, List<String> hosts) Create hosts in Perun and add them to the Facility.FacilitiesManager.addHosts
(PerunSession sess, List<Host> hosts, Facility facility) Adds hosts to the Facility.void
GroupsManager.addMember
(PerunSession perunSession, Group group, Member member) Adds member of the VO to the group in the same VO.void
GroupsManager.addMember
(PerunSession perunSession, List<Group> groups, Member member) Adds member of the VO to the groups in the same VO.void
MembersManager.addMemberCandidates
(PerunSession sess, Vo vo, List<MemberCandidate> candidates) Add member candidates.void
MembersManager.addMemberCandidates
(PerunSession sess, Vo vo, List<MemberCandidate> candidates, Group group) Add member candidates to Group.void
GroupsManager.addMembers
(PerunSession perunSession, Group group, List<Member> members) Adds members of the VO to the group in the same VO.void
VosManager.addMemberVo
(PerunSession sess, Vo vo, Vo memberVo) Adds new relationship between vo and a member vo.void
FacilitiesManager.addOwner
(PerunSession perunSession, Facility facility, Owner owner) Add owner of the facilityvoid
FacilitiesManager.addOwners
(PerunSession sess, Facility facility, List<Owner> owners) Add owners of the facilityvoid
ServicesManager.addRequiredAttribute
(PerunSession perunSession, Service service, AttributeDefinition attribute) Mark the attribute as required for the service.void
ServicesManager.addRequiredAttributes
(PerunSession perunSession, Service service, List<? extends AttributeDefinition> attributes) Batch version of addRequiredAttributevoid
ResourcesManager.addResourceSelfServiceGroup
(PerunSession sess, Resource resource, Group group) Sets ResourceSelfService role to given group for given resource.void
ResourcesManager.addResourceSelfServiceUser
(PerunSession sess, Resource resource, User user) Sets ResourceSelfService role to given user for given resource.void
ServicesManager.addServiceToServicesPackage
(PerunSession perunSession, ServicesPackage servicesPackage, Service service) Add the service to the packagevoid
UsersManager.addSpecificUserOwner
(PerunSession sess, User user, User specificUser) Add specificUser owner (the user) If not exists, create new ownership.void
VosManager.addSponsorRole
(PerunSession sess, Vo vo, Group group) Adds role SPONSOR for group in a VO.void
VosManager.addSponsorRole
(PerunSession sess, Vo vo, User user) Adds role SPONSOR for user in a VO.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
SecurityTeamsManager.addUserToBlacklist
(PerunSession perunSession, SecurityTeam securityTeam, User user, String description) Add User to black list of security team to filter him out.void
GroupsManager.allowGroupsToHierarchicalVo
(PerunSession sess, List<Group> groups, Vo vo) Sets flag required for including groups to parent vo in a vo hierarchy.void
GroupsManager.allowGroupToHierarchicalVo
(PerunSession sess, Group group, Vo vo) Sets flag required for including group to parent vo in a vo hierarchy.void
UsersManager.anonymizeUser
(PerunSession perunSession, User user, boolean force) Anonymizes user - according to configuration, each of user's attributes is either anonymized, kept untouched or deleted.void
ResourcesManager.assignGroupsToResource
(PerunSession perunSession, List<Group> groups, Resource resource, boolean async, boolean assignInactive, boolean autoAssignSubgroups) Assign groups to a resource.void
ResourcesManager.assignGroupToResource
(PerunSession perunSession, Group group, Resource resource, boolean async, boolean assignInactive, boolean autoAssignSubgroups) Assign group to a resource.void
ResourcesManager.assignGroupToResources
(PerunSession perunSession, Group group, List<Resource> resources, boolean async, boolean assignInactive, boolean autoAssignSubgroups) Assign group to the resources.void
ResourcesManager.assignResourceTagsToResource
(PerunSession perunSession, List<ResourceTag> resourceTags, Resource resource) Assign existing ResourceTags on existing Resource.void
ResourcesManager.assignResourceTagToResource
(PerunSession perunSession, ResourceTag resourceTag, Resource resource) Assign existing ResourceTag on existing Resource.void
FacilitiesManager.assignSecurityTeam
(PerunSession sess, Facility facility, SecurityTeam securityTeam) Assign given security team to given facility (means the facility trusts the security team)void
ResourcesManager.assignService
(PerunSession perunSession, Resource resource, Service service) Assign service to resource.void
ResourcesManager.assignServices
(PerunSession perunSession, Resource resource, List<Service> services) Assign services to resource.void
ResourcesManager.assignServicesPackage
(PerunSession perunSession, Resource resource, ServicesPackage servicesPackage) Assign all services from services package to resouce.void
ServicesManager.blockAllServicesOnDestination
(PerunSession perunSession, int destinationId) Block all services currently assigned on this destination.void
ServicesManager.blockAllServicesOnFacility
(PerunSession perunSession, Facility facility) Block all services currently assigned on this facility.void
UsersManager.blockLogins
(PerunSession sess, List<String> logins, String namespace) Block logins for given namespace or block logins globally (if no namespace is selected)void
ServicesManager.blockServiceOnDestination
(PerunSession perunSession, Service service, int destinationId) Bans Service on destination.void
ServicesManager.blockServiceOnFacility
(PerunSession perunSession, Service service, Facility facility) Bans Service on facility.void
ServicesManager.blockServicesOnDestinations
(PerunSession perunSession, List<RichDestination> richDestinations) Bans the Service on the destination - each pair defined by the rich destination.void
ServicesManager.blockServicesOnFacility
(PerunSession sess, List<Service> services, Facility facility) Bans services on facility.boolean
MembersManager.canBeMember
(PerunSession sess, Vo vo, User user, String loa) Checks if the user can apply membership to the VO, it decides based on extendMembershipRules on the doNotAllowLoa keyboolean
MembersManager.canBeMemberWithReason
(PerunSession sess, Vo vo, User user, String loa) Checks if the user can apply membership to the VO, it decides based on extendMembershipRules on the doNotAllowLoa keyboolean
MembersManager.canExtendMembership
(PerunSession sess, Member member) Return true if the membership can be extended or if no rules were set for the membershipExpiration, otherwise false.boolean
GroupsManager.canExtendMembershipInGroup
(PerunSession sess, Member member, Group group) Returns true if member in given group can extend membership or if no rules were set for the membershipExpirationboolean
GroupsManager.canExtendMembershipInGroupWithReason
(PerunSession sess, Member member, Group group) Returns true if member in given group can extend membership or throws exception with reason why use can't extends membershipboolean
MembersManager.canExtendMembershipWithReason
(PerunSession sess, Member member) Return true if the membership can be extended or if no rules were set for the membershipExpiration, otherwise throws exception.ConsentsManager.changeConsentStatus
(PerunSession sess, Consent consent, ConsentStatus status) Set consent statusvoid
UsersManager.changePassword
(PerunSession sess, User user, String loginNamespace, String oldPassword, String newPassword, boolean checkOldPassword) Changes user password in defined login-namespace.void
UsersManager.changePassword
(PerunSession sess, String login, String loginNamespace, String oldPassword, String newPassword, boolean checkOldPassword) Changes user password in defined login-namespace.UsersManager.changePasswordRandom
(PerunSession sess, User user, String loginNamespace) Generates new random password for given user and returns String representing HTML where is the new password.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, Facility facility, Attribute attribute) Check if value of this facility attribute has valid semantics.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, Facility facility, User user, Attribute attribute) Check if value of this user-facility attribute has valid semantics.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, Group group, Attribute attribute) Checks if value of this group attribute has valid semantics.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, Host host, Attribute attribute) Checks if value of this host attribute has valid semantics.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, Member member, Attribute attribute) Check if value of this member attribute has valid semantics.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, Member member, Group group, Attribute attribute) Check if value of this member-group attribute has valid semantics.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, Member member, Resource resource, Attribute attribute) Check if value of this member-resource attribute has valid semantics.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, Resource resource, Attribute attribute) Check if value of this resource attribute has valid semantics.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, Resource resource, Group group, Attribute attribute) Checks if value of this group-resource attribute has valid semantics.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, UserExtSource ues, Attribute attribute) Checks if value of this user external source attribute has valid semantics.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, User user, Attribute attribute) Check if value of this user attribute has valid semantics.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, Vo vo, Attribute attribute) Check if value of this vo attribute has valid semantics.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) Check if value of attributes has valid semantics.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, Facility facility, User user, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on themvoid
AttributesManager.checkAttributesSemantics
(PerunSession sess, Facility facility, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, Host host, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, Member member, Group group, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, Member member, Group group, List<Attribute> attributes, boolean workWithUserAttributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, Member member, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on themvoid
AttributesManager.checkAttributesSemantics
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, Resource resource, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, User user, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, Vo vo, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) Check if value of attributes has valid syntax.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, Facility facility, User user, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on themvoid
AttributesManager.checkAttributesSyntax
(PerunSession sess, Facility facility, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, Host host, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, Member member, Group group, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, Member member, Group group, List<Attribute> attributes, boolean workWithUserAttributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, Member member, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on themvoid
AttributesManager.checkAttributesSyntax
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, Resource resource, 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.checkAttributesSyntax
(PerunSession sess, User user, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, Vo vo, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributeSyntax
(PerunSession sess, Facility facility, Attribute attribute) Check if value of this facility attribute has valid syntax.void
AttributesManager.checkAttributeSyntax
(PerunSession sess, Facility facility, User user, Attribute attribute) Check if value of this user-facility attribute has valid syntax.void
AttributesManager.checkAttributeSyntax
(PerunSession sess, Group group, Attribute attribute) Checks if value of this group attribute has valid syntaxvoid
AttributesManager.checkAttributeSyntax
(PerunSession sess, Host host, Attribute attribute) Checks if value of this host attribute has valid syntaxvoid
AttributesManager.checkAttributeSyntax
(PerunSession sess, Member member, Attribute attribute) Check if value of this member attribute has valid syntax.void
AttributesManager.checkAttributeSyntax
(PerunSession sess, Member member, Group group, Attribute attribute) Check if value of this member-group attribute has valid syntax.void
AttributesManager.checkAttributeSyntax
(PerunSession sess, Member member, Resource resource, Attribute attribute) Check if value of this member-resource attribute has valid syntax.void
AttributesManager.checkAttributeSyntax
(PerunSession sess, Resource resource, Attribute attribute) Check if value of this resource attribute has valid syntax.void
AttributesManager.checkAttributeSyntax
(PerunSession sess, Resource resource, Group group, Attribute attribute) Checks if value of this group-resource attribute has valid syntaxvoid
AttributesManager.checkAttributeSyntax
(PerunSession sess, UserExtSource ues, Attribute attribute) Checks if value of this user external source attribute has valid syntaxvoid
AttributesManager.checkAttributeSyntax
(PerunSession sess, User user, Attribute attribute) Check if value of this user attribute has valid syntax.void
AttributesManager.checkAttributeSyntax
(PerunSession sess, Vo vo, Attribute attribute) Check if value of this vo attribute has valid syntax.void
AttributesManager.convertAttributeToNonunique
(PerunSession session, int attrId) Converts attribute to non-unique.void
AttributesManager.convertAttributeToUnique
(PerunSession session, int attrId) Converts attribute to unique.void
VosManager.convertSponsoredUsers
(PerunSession sess, Vo vo) For the given vo, creates sponsored members for each sponsored user who is a member of the given vo.void
VosManager.convertSponsoredUsersWithNewSponsor
(PerunSession sess, Vo vo, User newSponsor) For the given vo, creates sponsored members for each sponsored user who is a member of the given vo.void
FacilitiesManager.copyAttributes
(PerunSession sess, Facility sourceFacility, Facility destinationFacility) Copy all attributes of the source facility to the destination facility.void
ResourcesManager.copyAttributes
(PerunSession sess, Resource sourceResource, Resource destinationResource) Copy all attributes of the source resource to the destination resource.void
ResourcesManager.copyGroups
(PerunSession sess, Resource sourceResource, Resource destinationResource) Copy all groups of the source resource to the destination resource.void
FacilitiesManager.copyManagers
(PerunSession sess, Facility sourceFacility, Facility destinationFacility) Copy all managers(admins) of the source facility to the destination facility.void
GroupsManager.copyMembers
(PerunSession sess, Group sourceGroup, List<Group> destinationGroups, List<Member> members) Copies direct members from one group to other groups in the same VO.void
FacilitiesManager.copyOwners
(PerunSession sess, Facility sourceFacility, Facility destinationFacility) Copy all owners of the source facility to the destination facility.ResourcesManager.copyResource
(PerunSession perunSession, Resource templateResource, Resource destinationResource, boolean withGroups) Copy "template" settings from user's another existing resource and create new resource with this template.void
ResourcesManager.copyServices
(PerunSession sess, Resource sourceResource, Resource destinationResource) Copy all services of the source resource to the destination resource.void
MembersManager.copySponsoredMembers
(PerunSession session, List<Member> sponsored, User copyFrom, User copyTo, boolean copyValidity, LocalDate validityTo) Set another user (copyTo) as sponsor of sponsored members of user (copyFrom).void
UsersManager.createAlternativePassword
(PerunSession sess, User user, String description, String loginNamespace, String password) Creates alternative password in external system.AttributesManager.createAttribute
(PerunSession sess, AttributeDefinition attributeDefinition) Creates an attribute, the attribute is stored into the appropriate DB table according to the namespacevoid
AuditMessagesManager.createAuditerConsumer
(PerunSession perunSession, String consumerName) Creates new auditer consumer with last processed id which equals current auditer log max id.ExtSourcesManager.createExtSource
(PerunSession perunSession, ExtSource extSource, Map<String, String> attributes) Creates an external source.FacilitiesManager.createFacility
(PerunSession perunSession, Facility facility) Store the facility.GroupsManager.createGroup
(PerunSession perunSession, Group parentGroup, Group group) Creates a new subgroup of the existing group.GroupsManager.createGroup
(PerunSession perunSession, Vo vo, Group group) Creates a new top-level group and associates it with the VO from parameter.GroupsManager.createGroupUnion
(PerunSession sess, Group resultGroup, Group operandGroup) Performs union operation on two groups.MembersManager.createMember
(PerunSession sess, Vo vo, Candidate candidate) Creates a new member from candidate returned by the method VosManager.findCandidates which fills Candidate .userExtSource.MembersManager.createMember
(PerunSession sess, Vo vo, Candidate candidate, List<Group> groups) Creates a new member from candidate returned by the method VosManager.findCandidates which fills Candidate .userExtSource.MembersManager.createMember
(PerunSession sess, Vo vo, ExtSource extSource, String login) Create new member from user by login and ExtSource.MembersManager.createMember
(PerunSession sess, Vo vo, ExtSource extSource, String login, List<Group> groups) Create new member from user by login and ExtSource.MembersManager.createMember
(PerunSession sess, Vo vo, User user) Creates a new member from user.MembersManager.createMember
(PerunSession sess, Vo vo, User user, List<Group> groups) Creates a new member from user.MembersManager.createMember
(PerunSession sess, Vo vo, String extSourceName, String extSourceType, int extSourceLoa, String login, Candidate candidate) Creates a new member and sets all member's attributes from the candidate.MembersManager.createMember
(PerunSession sess, Vo vo, String extSourceName, String extSourceType, int extSourceLoa, String login, Candidate candidate, List<Group> groups) Creates a new member and sets all member's attributes from the candidate.MembersManager.createMember
(PerunSession sess, Vo vo, String extSourceName, String extSourceType, String login, Candidate candidate) Creates a new member and sets all member's attributes from the candidate.MembersManager.createMember
(PerunSession sess, Vo vo, String extSourceName, String extSourceType, String login, Candidate candidate, List<Group> groups) Creates a new member and sets all member's attributes from the candidate.OwnersManager.createOwner
(PerunSession perunSession, Owner owner) Create owner in the underlaying data sourceResourcesManager.createResource
(PerunSession perunSession, Resource resource, Vo vo, Facility facility) Inserts resource into DB.ResourcesManager.createResourceTag
(PerunSession perunSession, ResourceTag resourceTag, Vo vo) Create new Resource tag for the vo.SecurityTeamsManager.createSecurityTeam
(PerunSession perunSession, SecurityTeam securityTeam) Create new SecurityTeam.ServicesManager.createService
(PerunSession perunSession, Service service) Creates new service.ServicesManager.createServicesPackage
(PerunSession perunSession, ServicesPackage servicesPackage) Insert a new packageUsersManager.createServiceUser
(PerunSession sess, Candidate candidate, List<User> specificUserOwners) From given candidate, creates a service user and assign given owners to him.MembersManager.createSpecificMember
(PerunSession sess, Vo vo, Candidate candidate, List<User> specificUserOwners, SpecificUserType specificUserType) Creates a new member from candidate which is prepared for creating specific User In list specificUserOwners can't be specific user, only normal users and sponsored users are allowed.MembersManager.createSpecificMember
(PerunSession sess, Vo vo, Candidate candidate, List<User> specificUserOwners, SpecificUserType specificUserType, List<Group> groups) Creates a new member from candidate which is prepared for creating specificUser In list specificUserOwners can't be specific user, only normal users and sponsored users are allowed.MembersManager.createSponsoredMember
(PerunSession session, SponsoredUserData data, Vo vo, User sponsor, LocalDate validityTo, boolean sendActivationLink, String language, String url) Creates a new sponsored Member and its User.MembersManager.createSponsoredMembers
(PerunSession session, Vo vo, String namespace, List<String> names, String email, User sponsor, LocalDate validityTo, boolean sendActivationLink, String language, String url) Creates new sponsored Members (with random generated passwords).MembersManager.createSponsoredMembersFromCSV
(PerunSession sess, Vo vo, String namespace, List<String> data, String header, User sponsor, LocalDate validityTo, boolean sendActivationLink, String language, String url, List<Group> groups) Creates new sponsored members using input from CSV file.UsersManager.createUser
(PerunSession perunSession, User user) Deprecated.VosManager.createVo
(PerunSession perunSession, Vo vo) Create new VO.void
ResourcesManager.deactivateGroupResourceAssignment
(PerunSession session, Group group, Resource resource) Deactivates the group-resource assignment.void
GroupsManager.deleteAllGroups
(PerunSession perunSession, Vo vo) Deletes all groups under the VO except built-in groups (members, admins groups).void
MembersManager.deleteAllMembers
(PerunSession sess, Vo vo) Deletes all VO members.void
ResourcesManager.deleteAllResources
(PerunSession perunSession, Vo vo) Deletes all resources for the VO.void
ResourcesManager.deleteAllResourcesTagsForVo
(PerunSession perunSession, Vo vo) Delete all ResourcesTags for specific VO.void
UsersManager.deleteAlternativePassword
(PerunSession sess, User user, String loginNamespace, String passwordId) Deletes alternative password in external system.void
AttributesManager.deleteAttribute
(PerunSession sess, AttributeDefinition attributeDefinition) Deletes the attribute.void
AttributesManager.deleteAttribute
(PerunSession sess, AttributeDefinition attributeDefinition, boolean force) Deletes the attribute.void
ExtSourcesManager.deleteExtSource
(PerunSession perunSession, ExtSource extSource) Deletes an external source.void
FacilitiesManager.deleteFacility
(PerunSession perunSession, Facility facility, Boolean force) Delete the facility by id.void
GroupsManager.deleteGroup
(PerunSession perunSession, Group group) Deletes group only if has no subgroups and no members.void
GroupsManager.deleteGroup
(PerunSession perunSession, Group group, boolean forceDelete) If forceDelete is false, delete only group and if this group has members or subgroups, throw an exception.void
GroupsManager.deleteGroups
(PerunSession perunSession, List<Group> groups, boolean forceDelete) Delete all groups in list from perun.void
MembersManager.deleteMember
(PerunSession sess, Member member) Deletes only member data appropriated by member id.void
MembersManager.deleteMembers
(PerunSession sess, List<Member> members) Delete given members.void
OwnersManager.deleteOwner
(PerunSession perunSession, Owner owner) Delete owner from underlaying data source.void
OwnersManager.deleteOwner
(PerunSession perunSession, Owner owner, boolean forceDelete) Delete owner from underlaying data source.void
OwnersManager.deleteOwners
(PerunSession sess, List<Owner> owners, boolean forceDelete) Delete owners from underlaying data source.void
UsersManager.deletePassword
(PerunSession sess, User user, String loginNamespace) Deletes password in external system.void
UsersManager.deletePassword
(PerunSession sess, String userLogin, String loginNamespace) Deletes password in external system.void
ResourcesManager.deleteResource
(PerunSession perunSession, Resource resource) Deletes resource by id.void
ResourcesManager.deleteResourceTag
(PerunSession perunSession, ResourceTag resourceTag) Delete existing Resource tag.void
SecurityTeamsManager.deleteSecurityTeam
(PerunSession perunSession, SecurityTeam securityTeam) Delete SecurityTeam.void
SecurityTeamsManager.deleteSecurityTeam
(PerunSession perunSession, SecurityTeam securityTeam, boolean forceDelete) Delete SecurityTeam.void
ServicesManager.deleteService
(PerunSession perunSession, Service service, boolean forceFlag) Deletes the service.void
ServicesManager.deleteServices
(PerunSession perunSession, List<Service> services, boolean forceFlag) Deletes given services.void
ServicesManager.deleteServicesPackage
(PerunSession perunSession, ServicesPackage servicesPackage) Remove the packagevoid
TasksManager.deleteTask
(PerunSession sess, Task task) Delete Task and it's TaskResults.void
TasksManager.deleteTaskResultById
(PerunSession sess, int taskResultId) Delete TaskResult by its IDvoid
TasksManager.deleteTaskResults
(PerunSession sess, Task task, Destination destination) Delete all TaskResults related to specified Task and Destinationvoid
TasksManager.deleteTaskResultsByIds
(PerunSession sess, List<Integer> taskResultIds) Delete TaskResults by their IDs.void
UsersManager.deleteUser
(PerunSession perunSession, User user) Deletes user.void
UsersManager.deleteUser
(PerunSession perunSession, User user, boolean forceDelete) Deletes user.void
VosManager.deleteVo
(PerunSession perunSession, Vo vo) Delete VO.void
VosManager.deleteVo
(PerunSession perunSession, Vo vo, boolean forceDelete) Delete VO.void
GroupsManager.disallowGroupsToHierarchicalVo
(PerunSession sess, List<Group> groups, Vo vo) Unsets flag required for including groups to parent vo in a vo hierarchyvoid
GroupsManager.disallowGroupToHierarchicalVo
(PerunSession sess, Group group, Vo vo) Unsets flag required for including group to parent vo in a vo hierarchyvoid
AttributesManager.doTheMagic
(PerunSession sess, Member member) PRIVILEGE: Only for PerunAdmin.void
AttributesManager.doTheMagic
(PerunSession sess, Member member, boolean trueMagic) This function takes all member-related attributes (member, user, member-resource, user-facility) and tries to fill them and set them.void
ConsentsManager.evaluateConsents
(PerunSession sess, ConsentHub consentHub) Evaluates consents for given consent hub with enforced consents enabled.void
ConsentsManager.evaluateConsents
(PerunSession sess, Service service) Evaluates consents for given service for all consent hubs with given service with enforced consents enabled.void
ConsentsManager.evaluateConsents
(PerunSession sess, List<ConsentHub> consentHubs) Evaluates consents for given list of consent hubs with enforced consents enabled.MembersManager.extendExpirationForSponsoredMember
(PerunSession session, Member sponsored, User sponsor) Extends expiration date.void
MembersManager.extendMembership
(PerunSession sess, Member member) Extend member membership using membershipExpirationRules attribute defined at VO.void
GroupsManager.extendMembershipInGroup
(PerunSession sess, Member member, Group group) Extend member membership in given group using membershipExpirationRules attribute defined in Group.AttributesManager.fillAttribute
(PerunSession sess, Facility facility, User user, Attribute attribute) This method tries to fill value of the user-facility attribute.AttributesManager.fillAttribute
(PerunSession sess, Group group, Attribute attribute) This method tries to fill group attribute.AttributesManager.fillAttribute
(PerunSession sess, Host host, Attribute attribute) This method tries to fill host attribute.AttributesManager.fillAttribute
(PerunSession sess, Member member, Attribute attribute) This method tries to fill value of the member attribute.AttributesManager.fillAttribute
(PerunSession sess, Member member, Group group, Attribute attribute) This method tries to fill value of the member-group attribute.AttributesManager.fillAttribute
(PerunSession sess, Member member, Resource resource, Attribute attribute) This method tries to fill value of the member-resource attribute.AttributesManager.fillAttribute
(PerunSession sess, Resource resource, Attribute attribute) This method tries to fill a value of the resource attribute.AttributesManager.fillAttribute
(PerunSession sess, Resource resource, Group group, Attribute attribute) This method tries to fill group-resource attribute.AttributesManager.fillAttribute
(PerunSession sess, UserExtSource ues, Attribute attribute) This method tries to fill value of the user external source attribute.AttributesManager.fillAttribute
(PerunSession sess, User user, Attribute attribute) This method tries to fill value of the user attribute.VosManager.findCandidates
(PerunSession sess, Group group, String searchString) Finds users, who can join the group in Vo.VosManager.findCandidates
(PerunSession perunSession, Vo vo, String searchString) Finds users, who can join the Vo.VosManager.findCandidates
(PerunSession perunSession, Vo vo, String searchString, int maxNumOfResults) Finds users, who can join the Vo.MembersManager.findCompleteRichMembers
(PerunSession sess, Group group, List<String> attrsNames, String searchString, boolean lookingInParentGroup) Return list of richMembers for specific group by the searchString with attrs specific for list of attrsNames.MembersManager.findCompleteRichMembers
(PerunSession sess, Group group, List<String> attrsNames, List<String> allowedStatuses, List<String> allowedGroupStatuses, String searchString, boolean lookingInParentGroup) Return list of richMembers for specific group by the searchString with attrs specific for list of attrsNames and who have only status which is contain in lists of statuses.MembersManager.findCompleteRichMembers
(PerunSession sess, Vo vo, List<String> attrsNames, String searchString, boolean onlySponsored) Return list of richMembers for specific vo by the searchString with attrs specific for list of attrsNames.MembersManager.findCompleteRichMembers
(PerunSession sess, Vo vo, List<String> attrsNames, List<String> allowedStatuses, String searchString) Return list of richMembers for specific vo by the searchString with attrs specific for list of attrsNames and who have only status which is contain in list of statuses.MembersManager.findCompleteRichMembers
(PerunSession sess, List<String> attrsNames, List<String> allowedStatuses, String searchString) Return list of richMembers from Perun by searchString with attrs specific for list of attrsNames and who have only status which is contain in list of statuses.MembersManager.findMembersByName
(PerunSession sess, String searchString) Return list of members by the searchStringMembersManager.findMembersByNameInVo
(PerunSession sess, Vo vo, String searchString) Return list of members by the searchString under defined VO.MembersManager.findMembersInGroup
(PerunSession sess, Group group, String searchString) Return list of members by the searchString under defined Group.MembersManager.findMembersInParentGroup
(PerunSession sess, Group group, String searchString) Return list of members by the searchString udner parentGroup of defined Group.MembersManager.findMembersInVo
(PerunSession sess, Vo vo, String searchString) Return list of members by the searchString under defined VO.MembersManager.findRichMembersInVo
(PerunSession sess, Vo vo, String searchString) Return list of rich members by the searchString under defined VO.MembersManager.findRichMembersWithAttributesInGroup
(PerunSession sess, Group group, String searchString) Return list of rich members with attributes by the searchString under defined Group.MembersManager.findRichMembersWithAttributesInParentGroup
(PerunSession sess, Group group, String searchString) Return list of rich with attributes members by the searchString under parent group of defined Group.MembersManager.findRichMembersWithAttributesInVo
(PerunSession sess, Vo vo, String searchString) Return list of rich members with attributes by the searchString under defined VO.UsersManager.findRichUsers
(PerunSession sess, String searchString) Returns list of RichUsers with attributes who matches the searchString, searching name, id, uuid, email, logins.UsersManager.findRichUsersWithAttributes
(PerunSession sess, String searchString, List<String> attrNames) Returns list of RichUsers with attributes who matches the searchString, searching name, id, uuid, email, logins.UsersManager.findRichUsersWithAttributesByExactMatch
(PerunSession sess, String searchString, List<String> attrNames) Returns list of RichUsers with attributes who matches the searchString, searching name, id, uuid, email, logins.UsersManager.findRichUsersWithoutSpecificVoWithAttributes
(PerunSession sess, Vo vo, String searchString, List<String> attrsName) Return list of RichUsers who matches the searchString, searching name, email and logins and are not member in specific VO and contain selected attributes.UsersManager.findUsers
(PerunSession sess, String searchString) Returns list of users who matches the searchString, searching name, id, uuid, email, logins.UsersManager.findUsersByExactName
(PerunSession sess, String searchString) Returns list of users who exactly matches the searchStringUsersManager.findUsersByName
(PerunSession sess, String searchString) Returns list of users who matches the searchStringUsersManager.findUsersByName
(PerunSession sess, String titleBefore, String firstName, String middleName, String lastName, String titleAfter) Returns list of users who matches the fields.void
GroupsManager.forceAllSubGroupsSynchronization
(PerunSession sess, Group group) Force synchronization for all subgroups (recursively - whole tree) of the group (useful for group structure)void
GroupsManager.forceGroupStructureSynchronization
(PerunSession sess, Group group) Puts the group on the first place to the queue of groups waiting for group structure synchronization.void
GroupsManager.forceGroupSynchronization
(PerunSession sess, Group group) Synchronizes the group with the external group.boolean
ServicesManager.forceServicePropagation
(PerunSession perunSession, Facility facility, Service service) Forces service propagation on defined facility.boolean
ServicesManager.forceServicePropagation
(PerunSession perunSession, Service service) Forces service propagation on all facilities where the service is defined on.void
ServicesManager.forceServicePropagationBulk
(PerunSession sess, Facility facility, List<Service> services) Forces services propagation on defined facility.void
ServicesManager.forceServicePropagationBulk
(PerunSession sess, List<Service> services) Forces services propagation on all facilities where the services are defined on.ServicesManager.forceServicePropagationForHostname
(PerunSession perunSession, String hostname) Forces service propagation on all facilities for all services where hostname is used.UsersManager.generateAccount
(PerunSession session, String namespace, Map<String, String> parameters) Generate user account in a backend system associated with login-namespace in Perun.GroupsManager.getActiveGroupMembers
(PerunSession perunSession, Group group) Return all members of the group who are active (valid) in the group.AuthzResolver.getAdminGroups
(PerunSession sess, PerunBean complementaryObject, String role) Get all authorizedGroups for complementary object and role.FacilitiesManager.getAdminGroups
(PerunSession sess, Facility facility) Deprecated.GroupsManager.getAdminGroups
(PerunSession perunSession, Group group) Deprecated.ResourcesManager.getAdminGroups
(PerunSession sess, Resource resource) Deprecated.SecurityTeamsManager.getAdminGroups
(PerunSession sess, SecurityTeam securityTeam) Deprecated.VosManager.getAdminGroups
(PerunSession perunSession, Vo vo) Deprecated.VosManager.getAdminGroups
(PerunSession perunSession, Vo vo, String role) Deprecated.AuthzResolver.getAdmins
(PerunSession sess, PerunBean complementaryObject, String role, boolean onlyDirectAdmins) Get all valid user administrators (for group-based rights, status must be VALID for both Vo and group) for complementary object and role.FacilitiesManager.getAdmins
(PerunSession sess, Facility facility) Deprecated.FacilitiesManager.getAdmins
(PerunSession perunSession, Facility facility, boolean onlyDirectAdmins) Deprecated.GroupsManager.getAdmins
(PerunSession perunSession, Group group) Deprecated.GroupsManager.getAdmins
(PerunSession perunSession, Group group, boolean onlyDirectAdmins) Deprecated.ResourcesManager.getAdmins
(PerunSession perunSession, Resource resource, boolean onlyDirectAdmins) Deprecated.SecurityTeamsManager.getAdmins
(PerunSession perunSession, SecurityTeam securityTeam, boolean onlyDirectAdmins) Deprecated.VosManager.getAdmins
(PerunSession perunSession, Vo vo) Deprecated.VosManager.getAdmins
(PerunSession perunSession, Vo vo, String role, boolean onlyDirectAdmins) Deprecated.GroupsManager.getAllAllowedGroupsToHierarchicalVo
(PerunSession sess, Vo vo) Returns all groups which can be included to VO.GroupsManager.getAllAllowedGroupsToHierarchicalVo
(PerunSession sess, Vo vo, Vo memberVo) Returns groups which can be included to VO from specific member VO.UsersManager.getAllBlockedLoginsInNamespaces
(PerunSession sess) Returns all blocked logins in namespaces (if namespace is null, then this login is blocked globally)ConsentsManager.getAllConsentHubs
(PerunSession sess) Get list of all Consent HubsConsentsManager.getAllConsents
(PerunSession sess) Gel all consentsTasksManager.getAllFacilitiesStatesForVo
(PerunSession session, Vo vo) Return propagation status of all facilities related to VO resourcesGroupsManager.getAllGroups
(PerunSession sess) Get all groups from all vos.GroupsManager.getAllGroups
(PerunSession sess, Vo vo) Get groups of Vo by ACCESS RIGHTS: If user is: - PERUNADMIN or VOADMIN : all groups in vo - GROUPADMIN : only groups where user is adminGroupsManager.getAllGroupsWhereMemberIsActive
(PerunSession sess, Member member) Returns all member's groups where member is in active state (is valid there) Included members group.GroupsManager.getAllGroupsWithHierarchy
(PerunSession sess, Vo vo) Get groups of the VO stored in the map reflecting the hierarchy by ACCESS RIGHTS: If user is: - PERUNADMIN or VOADMIN : all Groups - GROUPADMIN : only groups where user is groupAdminGroupsManager.getAllMemberGroups
(PerunSession sess, Member member) Return all member's groups.MembersManager.getAllMembers
(PerunSession sess) Get all members from all vos.AttributesManager.getAllNamespaces
(PerunSession sess) Returns list of all possible namespaces.FacilitiesManager.getAllowedGroups
(PerunSession perunSession, Facility facility, Vo specificVo, Service specificService) Get all Groups which can use this facility (Groups must be assigned to resource which belongs to this facility) specificVo and specificService can choose concrete groups if specificVo, specificService or both are null, they do not specific (all possible results are returned)ResourcesManager.getAllowedMembers
(PerunSession perunSession, Resource resource) Returns all members assigned to the resource.ResourcesManager.getAllowedResources
(PerunSession sess, Member member) Get all resources which have the member access on.UsersManager.getAllowedResources
(PerunSession sess, Facility facility, User user) Get all resources from the facility which have the user access on.UsersManager.getAllowedResources
(PerunSession sess, User user) Get all resources which have the user access on.FacilitiesManager.getAllowedRichGroupsWithAttributes
(PerunSession perunSession, Facility facility, Vo specificVo, Service specificService, List<String> attrNames) Get all RichGroups which can use this facility (Groups must be assigned to Resource which belongs to this facility) specificVo and specificService can choose concrete groups if specificVo, specificService or both are null, they do not specific (all possible results are returned) We also retrieve attributes specified by attrNames for each returned RichGroup.FacilitiesManager.getAllowedUsers
(PerunSession perunSession, Facility facility) Return all users who can use this facilityFacilitiesManager.getAllowedUsers
(PerunSession perunSession, Facility facility, Vo specificVo, Service specificService) Return all users who can use this facility specificVo and specificService can choose concrete users if specificVo, specificService or both are null, they do not specific (all possible results are returned)ResourcesManager.getAllowedUsers
(PerunSession sess, Resource resource) Returns all users who is assigned with the resource.FacilitiesManager.getAllowedVos
(PerunSession perunSession, Facility facility) Return all VO which can use this facility.ResourcesManager.getAllResources
(PerunSession sess) Get all resources from database.ResourcesManager.getAllResourcesByResourceTag
(PerunSession perunSession, ResourceTag resourceTag) Get all resources in specific Vo (specific by resourceTag.getVoId) for existing resourceTagResourcesManager.getAllResourcesTagsForResource
(PerunSession perunSession, Resource resource) Get all resourcesTags for existing ResourceResourcesManager.getAllResourcesTagsForVo
(PerunSession perunSession, Vo vo) Get all resourcesTags for existing Vo.ServicesManager.getAllRichDestinations
(PerunSession perunSession, Facility facility) Get list of all rich destinations defined for the facility.ServicesManager.getAllRichDestinations
(PerunSession perunSession, Service service) Get list of all rich destinations defined for the service.GroupsManager.getAllRichGroups
(PerunSession sess) Get all groups with all attributes.GroupsManager.getAllRichGroups
(PerunSession sess, List<String> attrNames) Get all groups with their specified attributes.GroupsManager.getAllRichGroupsWithAttributesByNames
(PerunSession sess, Vo vo, List<String> attrNames) Deprecated.GroupsManager.getAllRichGroupsWithAttributesByNames
(PerunSession sess, Vo vo, List<String> attrNames, List<String> roles, List<RoleAssignmentType> types) Return all RichGroups containing selected attributes filtered by role and its typeGroupsManager.getAllRichSubGroupsWithAttributesByNames
(PerunSession sess, Group parentGroup, List<String> attrNames) Deprecated.GroupsManager.getAllRichSubGroupsWithAttributesByNames
(PerunSession sess, Group parentGroup, List<String> attrNames, List<String> roles, List<RoleAssignmentType> types) Return all RichSubGroups in parentGroup (all levels sub groups) containing selected attributes filtered by role and its type,UsersManager.getAllRichUsers
(PerunSession sess, boolean includedSpecificUsers) Get All richUsers with or without specificUsers.UsersManager.getAllRichUsersWithAttributes
(PerunSession sess, boolean includedSpecificUsers) Get All richUsers with or without specificUsers.UsersManager.getAllRichUsersWithAttributes
(PerunSession sess, boolean includedSpecificUsers, List<String> attrsNames) Get All richUsers with or without specificUsers.SecurityTeamsManager.getAllSecurityTeams
(PerunSession perunSession) get all security teams in perun systemMembersManager.getAllSponsoredMembers
(PerunSession sess, Vo vo) Gets list of all sponsored members of a VO.MembersManager.getAllSponsoredMembersAndTheirSponsors
(PerunSession sess, Vo vo, List<String> attrNames) Gets list of VO's all sponsored members with sponsors.GroupsManager.getAllSubGroups
(PerunSession sess, Group parentGroup) Get all subgroups of the parentGroup recursively.VosManager.getAllVos
(PerunSession perunSession) Get list of Vos without any privilege.FacilitiesManager.getAssignedFacilities
(PerunSession sess, Group group) Get facilities which are assigned to Group (via resource).FacilitiesManager.getAssignedFacilities
(PerunSession sess, Member member) Get facilities which have the member access on.FacilitiesManager.getAssignedFacilities
(PerunSession sess, SecurityTeam securityTeam) Get facilities where security team is assigned.FacilitiesManager.getAssignedFacilities
(PerunSession sess, Service service) Get facilities where the service is defined.FacilitiesManager.getAssignedFacilities
(PerunSession sess, User user) Get facilities which have the user access on.ResourcesManager.getAssignedGroups
(PerunSession perunSession, Resource resource) List all groups associated with the resource.ResourcesManager.getAssignedGroups
(PerunSession perunSession, Resource resource, Member member) List all groups associated with the resource and memberResourcesManager.getAssignedMembers
(PerunSession sess, Resource resource) Returns all members assigned to the resource.ResourcesManager.getAssignedMembersWithStatus
(PerunSession sess, Resource resource) Returns members of groups assigned to resource with status of group-resource assignment.FacilitiesManager.getAssignedResources
(PerunSession perunSession, Facility facility) Returns all resources assigned to the facility.ResourcesManager.getAssignedResources
(PerunSession perunSession, Group group) List all resources to which the group is assigned.ResourcesManager.getAssignedResources
(PerunSession sess, Member member) Get all resources where the member is assigned.ResourcesManager.getAssignedResources
(PerunSession sess, Member member, Service service) Get all resources where the member and the service are assigned.ServicesManager.getAssignedResources
(PerunSession sess, Service service) Get all resources where the service is defined.FacilitiesManager.getAssignedResourcesByAssignedService
(PerunSession perunSession, Facility facility, Service service) Returns resources with specific service assigned to the facility.ResourcesManager.getAssignedResourcesWithStatus
(PerunSession sess, Member member) Returns all assigned resources where member is assigned through the groups.ResourcesManager.getAssignedRichMembers
(PerunSession sess, Resource resource) Returns all members assigned to the resource as RichMembers.FacilitiesManager.getAssignedRichResources
(PerunSession perunSession, Facility facility) Returns all rich resources assigned to the facility with VO property filledFacilitiesManager.getAssignedRichResources
(PerunSession perunSession, Facility facility, Service service) Returns all rich resources assigned to the facility and service with VO property filledResourcesManager.getAssignedRichResources
(PerunSession perunSession, Group group) List all rich resources associated with the group with facility property filled.ResourcesManager.getAssignedRichResources
(PerunSession sess, Member member) Get all rich resources where the member is assigned with facility property filled.ResourcesManager.getAssignedRichResources
(PerunSession sess, Member member, Service service) Get all rich resources where the service and the member are assigned with facility property filled.UsersManager.getAssignedRichResources
(PerunSession sess, User user) Get all rich resources which have the user assigned.FacilitiesManager.getAssignedSecurityTeams
(PerunSession sess, Facility facility) return assigned security teams for specific facilityResourcesManager.getAssignedServices
(PerunSession perunSession, Resource resource) List all services associated with the resource.ServicesManager.getAssignedServices
(PerunSession perunSession, Facility facility) List all services associated with the facility (via resource).ServicesManager.getAssignedServices
(PerunSession perunSession, Facility facility, Vo vo) List all services associated with the facility and vo (via resource).FacilitiesManager.getAssignedUsers
(PerunSession sess, Facility facility) Returns list of Users, assigned with chosen Facility.FacilitiesManager.getAssignedUsers
(PerunSession sess, Facility facility, Service service) Returns list of Users assigned with chosen Facility containing resources where service is assigned.UsersManager.getAssociatedResources
(PerunSession sess, Facility facility, User user) Return all resources of specified facility with which user is associated through all his members.AttributesManager.getAttribute
(PerunSession sess, Facility facility, User user, String attributeName) Get particular attribute for the user on this facility.AttributesManager.getAttribute
(PerunSession sess, Facility facility, String attributeName) Get particular attribute for the facility.AttributesManager.getAttribute
(PerunSession sess, Group group, String attributeName) Get particular attribute for the group.AttributesManager.getAttribute
(PerunSession sess, Host host, String attributeName) Get particular attribute for the hostAttributesManager.getAttribute
(PerunSession sess, Member member, Group group, String attributeName) Get particular attribute for the member in this group.AttributesManager.getAttribute
(PerunSession sess, Member member, Resource resource, String attributeName) Get particular attribute for the member on this resource.AttributesManager.getAttribute
(PerunSession sess, Member member, String attributeName) Get particular attribute for the member.AttributesManager.getAttribute
(PerunSession sess, Resource resource, Group group, String attributeName) Get particular group attribute on resourceAttributesManager.getAttribute
(PerunSession sess, Resource resource, String attributeName) Get particular attribute for the resource.AttributesManager.getAttribute
(PerunSession sess, UserExtSource ues, String attributeName) Get particular attribute for the user external source.AttributesManager.getAttribute
(PerunSession sess, User user, String attributeName) Get particular attribute for the user.AttributesManager.getAttribute
(PerunSession sess, Vo vo, String attributeName) Get particular attribute for the vo.AttributesManager.getAttributeById
(PerunSession sess, Facility facility, int id) Get particular attribute for the facility.AttributesManager.getAttributeById
(PerunSession sess, Facility facility, User user, int id) Get particular attribute for the user on this facility.AttributesManager.getAttributeById
(PerunSession sess, Group group, int id) Get particular attribute for groupAttributesManager.getAttributeById
(PerunSession sess, Host host, int id) Get particular attribute for the hostAttributesManager.getAttributeById
(PerunSession sess, Member member, int id) Get particular attribute for the member.AttributesManager.getAttributeById
(PerunSession sess, Member member, Group group, int id) Get particular attribute for the member in this group.AttributesManager.getAttributeById
(PerunSession sess, Member member, Resource resource, int id) Get particular attribute for the member on this resource.AttributesManager.getAttributeById
(PerunSession sess, Resource resource, int id) Get particular attribute for the resource.AttributesManager.getAttributeById
(PerunSession sess, Resource resource, Group group, int id) Get particular group attribute on this resourceAttributesManager.getAttributeById
(PerunSession sess, UserExtSource ues, int id) Get particular attribute for user external sourceAttributesManager.getAttributeById
(PerunSession sess, User user, int id) Get particular attribute for the user.AttributesManager.getAttributeById
(PerunSession sess, Vo vo, int id) Get particular attribute for the vo.AttributesManager.getAttributePolicyCollections
(PerunSession sess, int attributeId) Gets attribute policy collections for an attribute definition with given id.AttributesManager.getAttributeRights
(PerunSession sess, int attributeId) Deprecated.AttributesManager.getAttributeRules
(PerunSession sess, int attributeId) Gets attribute rules containing policy collections and critical actions for an attribute definition with given idAttributesManager.getAttributes
(PerunSession sess, String key) Get all entityless attributes with subject equaled String keyExtSourcesManager.getAttributes
(PerunSession sess, ExtSource extSource) Gets attributes for external source.AttributesManager.getAttributesByAttributeDefinition
(PerunSession sess, AttributeDefinition attributeDefinition) Returns all attributes with not-null value which fits the attributeDefinition.MembersManager.getAvailableSponsorsForMember
(PerunSession sess, Member member) Returns all available sponsors for given member.FacilitiesManager.getBan
(PerunSession sess, int userId, int faclityId) Get ban by userId and facilityId.ResourcesManager.getBan
(PerunSession sess, int memberId, int resourceId) Get ban by memberId and resource idFacilitiesManager.getBanById
(PerunSession sess, int banId) Get Ban for user on facility by it's idResourcesManager.getBanById
(PerunSession sess, int banId) Get Ban for member on resource by it's idVosManager.getBanById
(PerunSession sess, int banId) Get vo ban with given id.VosManager.getBanForMember
(PerunSession sess, Member member) Get ban for given member, or null if he is not banned.FacilitiesManager.getBansForFacility
(PerunSession sess, int facilityId) Get all bans for users on the facilityResourcesManager.getBansForResource
(PerunSession sess, int resourceId) Get all bans for members on the resource.VosManager.getBansForVo
(PerunSession sess, int voId) Get list of all bans for vo with given id.SecurityTeamsManager.getBlacklist
(PerunSession perunSession, Facility facility) get union of blacklists of all security teams assigned to facilitySecurityTeamsManager.getBlacklist
(PerunSession perunSession, SecurityTeam securityTeam) get list of blacklisted users by security teamSecurityTeamsManager.getBlacklistWithDescription
(PerunSession perunSession, Facility facility) get union of blacklists of all security teams assigned to facility containing also descriptionSecurityTeamsManager.getBlacklistWithDescription
(PerunSession perunSession, SecurityTeam securityTeam) get list of blacklisted users by security team containing also descriptionUsersManager.getBlockedLoginsPage
(PerunSession sess, BlockedLoginsPageQuery query) Get page of blocked logins.ExtSourcesManager.getCandidate
(PerunSession perunSession, ExtSource source, String login) Get the candidate from the ExtSource defined by the extsource login.ExtSourcesManager.getCandidate
(PerunSession perunSession, Map<String, String> subjectData, ExtSource source) Get the candidate from subjectData where at least login must exists.VosManager.getCompleteCandidates
(PerunSession sess, Group group, List<String> attrNames, String searchString) Finds MemberCandidates who can join the Group.VosManager.getCompleteCandidates
(PerunSession sess, Vo vo, List<String> attrNames, String searchString) Finds MemberCandidates who can join the Vo.MembersManager.getCompleteRichMembers
(PerunSession sess, Group group, Resource resource, List<String> attrsNames, List<String> allowedStatuses) Get all RichMembers with attributes specific for list of attrNames.MembersManager.getCompleteRichMembers
(PerunSession sess, Group group, List<String> attrsNames, boolean lookingInParentGroup) Get all RichMembers with attrs specific for list of attrsNames from the group.MembersManager.getCompleteRichMembers
(PerunSession sess, Group group, List<String> attrsNames, List<String> allowedStatuses, List<String> allowedGroupStatuses, boolean lookingInParentGroup) Get all RichMembers with attrs specific for list of attrsNames from the group and have only status which is contain in lists of statuses.MembersManager.getCompleteRichMembers
(PerunSession sess, Vo vo, List<String> attrsNames) Get all RichMembers with attrs specific for list of attrsNames from the vo.MembersManager.getCompleteRichMembers
(PerunSession sess, Vo vo, List<String> attrsNames, List<String> allowedStatuses) Get all RichMembers with attrs specific for list of attrsNames from the vo and have only status which is contain in list of statuses.ConsentsManager.getConsentById
(PerunSession sess, int id) Get consent object with specified idConsentsManager.getConsentForUserAndConsentHub
(PerunSession sess, int userId, int consentHubId, ConsentStatus status) Get consent for chosen user in specified consent hub with specified statusConsentsManager.getConsentHubByFacility
(PerunSession sess, int facilityId) Finds existing Consent Hub by facility.ConsentsManager.getConsentHubById
(PerunSession sess, int id) Finds existing Consent Hub by id.ConsentsManager.getConsentHubByName
(PerunSession sess, String name) Finds existing Consent Hub by name.ConsentsManager.getConsentHubByResource
(PerunSession sess, int resourceId) Finds existing Consent Hub for facility to which resource belongs.ConsentsManager.getConsentsForConsentHub
(PerunSession sess, int id) Get all consents for chosen ConsentHubConsentsManager.getConsentsForConsentHub
(PerunSession sess, int id, ConsentStatus status) Get all consents for chosen ConsentHub with the specified statusConsentsManager.getConsentsForConsentHubByResource
(PerunSession sess, int resourceId) Get consents for members assigned to the chosen resource.ConsentsManager.getConsentsForUser
(PerunSession sess, int id) Get all consents for chosen UserConsentsManager.getConsentsForUser
(PerunSession sess, int id, ConsentStatus status) Get all consents for chosen User with the specified statusConsentsManager.getConsentsForUserAndConsentHub
(PerunSession sess, int userId, int consentHubId) Get all consents for chosen User in specified consent hubDatabaseManager.getCurrentDatabaseVersion
(PerunSession perunSession) Return current database version in string (ex.DatabaseManager.getDatabaseDriverInformation
(PerunSession sess) Get DB driver information from datasource (name-version)DatabaseManager.getDatabaseInformation
(PerunSession sess) Get DB information from datasource (name-version)ServicesManager.getDestinationById
(PerunSession perunSession, int id) Get destination by idServicesManager.getDestinations
(PerunSession perunSession) Get list of all destinations.ServicesManager.getDestinations
(PerunSession perunSession, Service service, Facility facility) Get list of all destinations defined for the service and facility.FacilitiesManager.getDirectAdmins
(PerunSession perunSession, Facility facility) Deprecated.GroupsManager.getDirectAdmins
(PerunSession perunSession, Group group) Deprecated.VosManager.getDirectAdmins
(PerunSession perunSession, Vo vo) Deprecated.FacilitiesManager.getDirectRichAdminsWithSpecificAttributes
(PerunSession perunSession, Facility facility, List<String> specificAttributes) Deprecated.GroupsManager.getDirectRichAdminsWithSpecificAttributes
(PerunSession perunSession, Group group, List<String> specificAttributes) Deprecated.VosManager.getDirectRichAdminsWithSpecificAttributes
(PerunSession perunSession, Vo vo, List<String> specificAttributes) Deprecated.FacilitiesManager.getEnrichedBansForFacility
(PerunSession sess, int facilityId, List<String> attrNames) Get all enriched bans for users on the facility.ResourcesManager.getEnrichedBansForResource
(PerunSession sess, int resourceId, List<String> attrNames) Get all enriched bans for members on the resource.FacilitiesManager.getEnrichedBansForUser
(PerunSession sess, int userId, List<String> attrNames) Get all enriched bans on facility for user.ResourcesManager.getEnrichedBansForUser
(PerunSession sess, int userId, List<String> attrNames) Get all enriched bans on resources for user.VosManager.getEnrichedBansForUser
(PerunSession sess, int userId, List<String> attrNames) Gets all Enriched Bans for given user.VosManager.getEnrichedBansForVo
(PerunSession sess, int voId, List<String> attrNames) Gets all Enriched Bans for given vo.FacilitiesManager.getEnrichedFacilities
(PerunSession perunSession) Gets all enriched facilities user has access rights to.FacilitiesManager.getEnrichedHosts
(PerunSession sess, Facility facility, List<String> attrNames) Return all EnrichedHosts of given facility.ResourcesManager.getEnrichedResourceById
(PerunSession sess, int id, List<String> attrNames) Find resource for given id and returns it with given attributes.ResourcesManager.getEnrichedResourcesForFacility
(PerunSession sess, Facility facility, List<String> attrNames) Find resources for given facility and attributes for given names.ResourcesManager.getEnrichedResourcesForVo
(PerunSession sess, Vo vo, List<String> attrNames) Find resources for given vo and attributes for given names.VosManager.getEnrichedVoById
(PerunSession perunSession, int id) Finds existing vo by and id and returns corresponding EnrichedVoVosManager.getEnrichedVos
(PerunSession perunSession) Get list of EnrichedVos of all the VOs the user has access toAttributesManager.getEntitylessAttributes
(PerunSession sess, String attrName) Get all entityless attributes with attributeNameAttributesManager.getEntitylessAttributesWithKeys
(PerunSession sess, String attrName) Get entityless attributes mapped by their keys.AttributesManager.getEntitylessAttributesWithKeys
(PerunSession sess, String attrName, List<String> keys) Get entityless attributes mapped by their keys.AttributesManager.getEntitylessKeys
(PerunSession sess, AttributeDefinition attributeDefinition) Returns list of Keys which fits the attributeDefinition.ExtSourcesManager.getExtSourceById
(PerunSession perunSession, int id) Searches for the external source with specified id.ExtSourcesManager.getExtSourceByName
(PerunSession perunSession, String name) Searches for the external source using specified name.ExtSourcesManager.getExtSources
(PerunSession perunSession) Get list of all external sources.FacilitiesManager.getFacilities
(PerunSession perunSession) List facilities by ACCESS RIGHTS: If User is: - PERUNADMIN : all facilities - FACILITYADMIN : only facilities where user is facility adminSearcher.getFacilities
(PerunSession sess, Map<String, String> attributesWithSearchingValues) This method get Map of Attributes with searching values and try to find all facilities, which have specific attributes in format.FacilitiesManager.getFacilitiesByAttribute
(PerunSession sess, String attributeName, String attributeValue) Returns all facilities that have set the attribute 'attributeName' with the value 'attributeValue'.FacilitiesManager.getFacilitiesByAttributeWithAttributes
(PerunSession sess, String searchAttributeName, String searchAttributeValue, List<String> attrNames) Searches (partially!) for facilities with the attribute 'searchAttributeName' and its value 'searchAttributeValue'.FacilitiesManager.getFacilitiesByDestination
(PerunSession perunSession, String destination) Searches for the Facilities by theirs destination.FacilitiesManager.getFacilitiesByIds
(PerunSession perunSession, List<Integer> ids) Searches for the Facilities with specified ids.FacilitiesManager.getFacilitiesWhereUserIsAdmin
(PerunSession sess, User user) Get all facilities where the user is admin.AuthzResolver.getFacilitiesWhereUserIsInRoles
(PerunSession sess, User user, List<String> roles) Get all Facilities where the given user has set one of the given roles or the given user is a member of an authorized group with such roles.ResourcesManager.getFacility
(PerunSession perunSession, Resource resource) Get facility which belongs to the concrete resource.ServicesManager.getFacilityAssignedServicesForGUI
(PerunSession perunSession, Facility facility) Return list of ServiceForGUI assigned on facility, (Service with "allowedOnFacility" property filled).FacilitiesManager.getFacilityById
(PerunSession perunSession, int id) Searches for the Facility with specified id.FacilitiesManager.getFacilityByName
(PerunSession perunSession, String name) Searches the Facility by its name.FacilitiesManager.getFacilityForHost
(PerunSession sess, Host host) Return facility which has the host.TasksManager.getFacilityServicesState
(PerunSession sess, Facility facility) Returns list of ServiceStates for given facility.TasksManager.getFacilityState
(PerunSession session, Facility facility) Return propagation status of facilityResourcesManager.getGroupAssignments
(PerunSession session, Resource resource, List<String> attrNames) Lists all of the assigned groups for the given resource.GroupsManager.getGroupById
(PerunSession perunSession, int id) Search for the group with specified id in all VOs.GroupsManager.getGroupByName
(PerunSession perunSession, Vo vo, String name) Search for the group with specified name in specified VO.GroupsManager.getGroupDirectMembers
(PerunSession perunSession, Group group) Return all direct group members.int
GroupsManager.getGroupDirectMembersCount
(PerunSession sess, Group group) Returns count of direct members in the groupGroupsManager.getGroupDirectRichMembers
(PerunSession sess, Group group) Returns direct group members in the RichMember object, which contains Member+User data.ExtSourcesManager.getGroupExtSources
(PerunSession perunSession, Group group) Get list of external sources associated with the GROUP.GroupsManager.getGroupMemberById
(PerunSession sess, Group group, int memberId) Get group member by member ID.GroupsManager.getGroupMembers
(PerunSession perunSession, Group group) Return all group members.GroupsManager.getGroupMembers
(PerunSession perunSession, Group group, Status status) Return group members with specified vo membership status.int
GroupsManager.getGroupMembersCount
(PerunSession perunSession, Group group) GroupsManager.getGroupMembersCountsByGroupStatus
(PerunSession sess, Group group) Returns counts of group members by their group status.GroupsManager.getGroupMembersCountsByVoStatus
(PerunSession sess, Group group) Returns counts of group members by their status in VO.GroupsManager.getGroupRichMembers
(PerunSession sess, Group group) Returns group members in the RichMember object, which contains Member+User data.GroupsManager.getGroupRichMembers
(PerunSession sess, Group group, Status status) Returns group members with specified membership status in the RichMember object, which contains Member+User data.GroupsManager.getGroupRichMembersByIds
(PerunSession sess, int groupId, List<Integer> memberIds, List<String> attrNames) Returns list of RichMembers with requested attributes by their member IDs from given group.GroupsManager.getGroupRichMembersWithAttributes
(PerunSession sess, Group group) Returns group members in the RichMember object, which contains Member+User data.GroupsManager.getGroupRichMembersWithAttributes
(PerunSession sess, Group group, Status status) Returns group members with specified membership status in the RichMember object, which contains Member+User data.AuthzResolver.getGroupRoleNames
(PerunSession sess, Group group) Get all group role names.static AuthzRoles
AuthzResolver.getGroupRoles
(PerunSession sess, int groupId) Get all roles for a given group.GroupsManager.getGroups
(PerunSession sess, Vo vo) Get groups of users under the VO by ACCESS RIGHTS: If user is: - PERUNADMIN or VOADMIN : all groups - GROUPADMIN : only groups where user is GroupAdminGroupsManager.getGroupsByIds
(PerunSession perunSession, List<Integer> ids) Search for the groups with specified ids in all VOs.int
GroupsManager.getGroupsCount
(PerunSession sess, Vo vo) GroupsManager.getGroupsPage
(PerunSession sess, Vo vo, GroupsPageQuery query, List<String> attrNames) Get page of groups from the given vo.GroupsManager.getGroupsWhereMemberIsActive
(PerunSession sess, Member member) Returns all member's groups where member is in active state (is valid there) Excluded members group.GroupsManager.getGroupsWhereMemberIsInactive
(PerunSession sess, Member member) Returns all member's groups where member is in inactive state (it is not valid and it is expired there) Excluded members group.UsersManager.getGroupsWhereUserIsActive
(PerunSession sess, Facility facility, User user) Return all groups where user is active (has VALID status in VO and Group together) for specified user and facilityUsersManager.getGroupsWhereUserIsActive
(PerunSession sess, Resource resource, User user) Return all groups where user is active (has VALID status in VO and Group together) for specified user and resourceGroupsManager.getGroupsWhereUserIsActiveMember
(PerunSession session, User user, Vo vo) Returns groups in which the user is active member.UsersManager.getGroupsWhereUserIsAdmin
(PerunSession perunSession, User user) Returns list of Groups in Perun, where the User is a direct Administrator or he is VALID a member of any group which is Administrator of some of these Groups.UsersManager.getGroupsWhereUserIsAdmin
(PerunSession sess, Vo vo, User user) Returns list of Groups in selected Vo, where the User is a direct Administrator or he is a VALID member of any group which is Administrator of some of these Groups.AuthzResolver.getGroupsWhereUserIsInRoles
(PerunSession sess, User user, List<String> roles) Get all Groups where the given user has set one of the given roles or the given user is a member of an authorized group with such roles.GroupsManager.getGroupUnions
(PerunSession sess, Group group, boolean reverseDirection) Get list of group unions for specified group.ServicesManager.getHashedDataWithGroups
(PerunSession perunSession, Service service, Facility facility, boolean consentEval, int taskRunId) Generates hashed data with group structure for given service and facility.ServicesManager.getHashedHierarchicalData
(PerunSession perunSession, Service service, Facility facility, boolean consentEval, int taskRunId) Generates hashed hierarchical data structure for given service and facility.FacilitiesManager.getHostById
(PerunSession sess, int id) Get the host by its ID.FacilitiesManager.getHosts
(PerunSession sess, Facility facility) List hosts of Facility.FacilitiesManager.getHostsByHostname
(PerunSession sess, String hostname) Get all hosts with this hostname (from all facilities).int
FacilitiesManager.getHostsCount
(PerunSession sess, Facility facility) Count hosts of Facility.GroupsManager.getInactiveGroupMembers
(PerunSession perunSession, Group group) Return all members of the group who are inactive (expired) in the group.GroupsManager.getIndirectMembershipPaths
(PerunSession sess, Member member, Group group) Get unique paths of groups via which member is indirectly included to the group.ExtSourcesManager.getInvalidUsers
(PerunSession perunSession, ExtSource source) Returns list of users stored by this ExtSource, which are not valid.ResourcesManager.getMailingServiceRichResourcesWithMember
(PerunSession perunSession, Member member) Return all rich resources with mailing service(s) where given member is assigned.MembersManager.getMemberByExtSourceNameAndExtLogin
(PerunSession sess, Vo vo, String extSourceName, String extLogin) Get member by extSourceName, extSourceLogin and VoMembersManager.getMemberById
(PerunSession sess, int id) Returns member by his id.MembersManager.getMemberByUser
(PerunSession sess, Vo vo, User user) Returns member by his user and vo.MembersManager.getMemberByUserExtSource
(PerunSession perunSession, Vo vo, UserExtSource userExtSource) Find member of this Vo by his login in external sourceGroupsManager.getMemberGroups
(PerunSession sess, Member member) Returns all member's groups.GroupsManager.getMemberGroupsByAttribute
(PerunSession sess, Member member, Attribute attribute) Method return list of groups for selected member which (groups) has set specific attribute.GroupsManager.getMemberRichGroupsWithAttributesByNames
(PerunSession sess, Member member, List<String> attrNames) Deprecated.GroupsManager.getMemberRichGroupsWithAttributesByNames
(PerunSession sess, Member member, List<String> attrNames, List<String> roles, List<RoleAssignmentType> types) Return all RichGroups for specified member, containing selected attributes filtered by role and its type.MembersManager.getMembers
(PerunSession sess, Vo vo) Get all VO members.MembersManager.getMembers
(PerunSession sess, Vo vo, Status status) Get all VO members who have the status.Searcher.getMembers
(PerunSession sess, Vo vo, Map<String, String> attributesWithSearchingValues) This method finds all members with given values of the queried attributes.Searcher.getMembersByExpiration
(PerunSession sess, String operator, int days) Return members with expiration date set, which will expire on today +/- X days.Searcher.getMembersByExpiration
(PerunSession sess, String operator, LocalDate date) Return members with expiration date set, which will expire on specified date.Searcher.getMembersByGroupExpiration
(PerunSession sess, Group group, String operator, LocalDate date) Return members with group expiration date set, which will expire on specified date in given group.MembersManager.getMembersByIds
(PerunSession perunSession, List<Integer> ids) Returns members by their ids.MembersManager.getMembersByUser
(PerunSession sess, User user) Returns members by his user.Searcher.getMembersByUserAttributes
(PerunSession sess, Vo vo, Map<String, String> userAttributesWithSearchingValues) This method get Map of user Attributes with searching values and try to find all members, which have specific attributes in format for specific VO.int
MembersManager.getMembersCount
(PerunSession sess, Vo vo) Get the VO members count.int
MembersManager.getMembersCount
(PerunSession sess, Vo vo, Status status) Get the VO members count with defined status.MembersManager.getMembersPage
(PerunSession sess, Vo vo, MembersPageQuery query, List<String> attrNames) Get page of members from the given vo, with the given attributes.MembersManager.getMembersPage
(PerunSession sess, Vo vo, MembersPageQuery query, List<String> attrNames, String policy) Get page of members from the given vo, with the given attributes, based on policy.AuthzResolver.getMembersWhereUserIsInRoles
(PerunSession sess, User user, List<String> roles) Get all Members where the given user has set one of the given roles or the given user is a member of an authorized group with such roles.VosManager.getMemberVos
(PerunSession sess, int voId) Gets all member organizations of the given vo.AuditMessagesManager.getMessagesByIdAndCount
(PerunSession perunSession, int id, int count) Returns "count" number of messages that are more or equal than the given ID (ascending order), i.e.AuditMessagesManager.getMessagesPage
(PerunSession perunSession, MessagesPageQuery query) Returns page of audit messages.AttributesManager.getModulesDependenciesGraph
(PerunSession session, GraphTextFormat format) Generates graph describing attribute modules dependencies.AttributesManager.getModulesDependenciesGraph
(PerunSession session, GraphTextFormat format, String attributeName) Generates graph describing dependencies for given AttributeDefinition.OwnersManager.getOwnerById
(PerunSession perunSession, int id) Find owner by id.OwnersManager.getOwnerByName
(PerunSession perunSession, String name) Find owner by name.FacilitiesManager.getOwnerFacilities
(PerunSession perunSession, Owner owner) Returns list of all facilities owned by the owner.FacilitiesManager.getOwners
(PerunSession perunSession, Facility facility) Returns owners of the facility.OwnersManager.getOwners
(PerunSession perunSession) Return all owners.GroupsManager.getParentGroup
(PerunSession sess, Group group) Get parent group.GroupsManager.getParentGroupMembers
(PerunSession sess, Group group) Get members from parent group.GroupsManager.getParentGroupRichMembers
(PerunSession sess, Group group) Get members form the parent group in RichMember format.GroupsManager.getParentGroupRichMembersWithAttributes
(PerunSession sess, Group group) Get members form the parent group in RichMember format including user/member attributes.VosManager.getParentVos
(PerunSession sess, int memberVoId) Gets all organizations where given vo is direct member.UsersManager.getPendingPreferredEmailChanges
(PerunSession sess, User user) Return list of email addresses of user, which are awaiting validation and are inside time window for validation.ResourcesManager.getResourceAssignments
(PerunSession session, Group group, List<String> attrNames) Lists all of the resource assignments for the given group.ResourcesManager.getResourceById
(PerunSession perunSession, int id) Searches for the Resource with specified id.ResourcesManager.getResourceByName
(PerunSession sess, Vo vo, Facility facility, String name) Return resource by its name.ResourcesManager.getResources
(PerunSession perunSession, Vo vo) Get all VO resources.Searcher.getResources
(PerunSession sess, Map<String, String> attributesWithSearchingValues, boolean allowPartialMatchForString) This method get Map of Attributes with searching values and try to find all resources, which have specific attributes in format.ResourcesManager.getResourcesByIds
(PerunSession perunSession, List<Integer> ids) Search for the Resources with specific ids.int
ResourcesManager.getResourcesCount
(PerunSession perunSession, Vo vo) Get all VO resources count.TasksManager.getResourcesState
(PerunSession session, Vo vo) Returns list of ResourceStates for VO.ResourcesManager.getResourcesWhereGroupIsAdmin
(PerunSession sess, Facility facility, Vo vo, Group authorizedGroup) Return all resources for the facility and the vo where the group is authorized as resource manager.ResourcesManager.getResourcesWhereUserIsAdmin
(PerunSession sess, Facility facility, Vo vo, User authorizedUser) Return all resources for the facility and the vo where user is authorized as resource manager.ResourcesManager.getResourcesWhereUserIsAdmin
(PerunSession sess, User user) Returns list of resources, where the user is an admin.ResourcesManager.getResourcesWhereUserIsAdmin
(PerunSession sess, Vo vo, User authorizedUser) Return all resources for the vo where user is authorized as resource manager.AuthzResolver.getResourcesWhereUserIsInRoles
(PerunSession sess, User user, List<String> roles) Get all Resources where the given user has set one of the given roles or the given user is a member of an authorized group with such roles.AuthzResolver.getRichAdmins
(PerunSession sess, PerunBean complementaryObject, List<String> specificAttributes, String role, boolean onlyDirectAdmins, boolean allUserAttributes) Get all valid richUser administrators (for group-based rights, status must be VALID for both Vo and group) for complementary object and role with specified attributes.FacilitiesManager.getRichAdmins
(PerunSession sess, Facility facility) Deprecated.FacilitiesManager.getRichAdmins
(PerunSession perunSession, Facility facility, List<String> specificAttributes, boolean allUserAttributes, boolean onlyDirectAdmins) Deprecated.GroupsManager.getRichAdmins
(PerunSession perunSession, Group group) Deprecated.GroupsManager.getRichAdmins
(PerunSession perunSession, Group group, List<String> specificAttributes, boolean allUserAttributes, boolean onlyDirectAdmins) Deprecated.ResourcesManager.getRichAdmins
(PerunSession perunSession, Resource resource, List<String> specificAttributes, boolean allUserAttributes, boolean onlyDirectAdmins) Deprecated.VosManager.getRichAdmins
(PerunSession perunSession, Vo vo) Deprecated.VosManager.getRichAdmins
(PerunSession perunSession, Vo vo, String role, List<String> specificAttributes, boolean allUserAttributes, boolean onlyDirectAdmins) Deprecated.FacilitiesManager.getRichAdminsWithAttributes
(PerunSession sess, Facility facility) Deprecated.GroupsManager.getRichAdminsWithAttributes
(PerunSession perunSession, Group group) Deprecated.VosManager.getRichAdminsWithAttributes
(PerunSession perunSession, Vo vo) Deprecated.FacilitiesManager.getRichAdminsWithSpecificAttributes
(PerunSession perunSession, Facility facility, List<String> specificAttributes) Deprecated.GroupsManager.getRichAdminsWithSpecificAttributes
(PerunSession perunSession, Group group, List<String> specificAttributes) Deprecated.VosManager.getRichAdminsWithSpecificAttributes
(PerunSession perunSession, Vo vo, List<String> specificAttributes) Deprecated.ServicesManager.getRichDestinations
(PerunSession perunSession, Facility facility, Service service) Get list of all rich destinations defined for the facility and the service.FacilitiesManager.getRichFacilities
(PerunSession perunSession) Get all possible rich Facilities with all their owners.GroupsManager.getRichGroupByIdWithAttributesByNames
(PerunSession sess, int groupId, List<String> attrNames) Return RichGroup selected by id containing selected attributesGroupsManager.getRichGroupsAssignedToResourceWithAttributesByNames
(PerunSession sess, Member member, Resource resource, List<String> attrNames) Get list of all richGroups with selected attributes assigned to the resource filtered by specific member.GroupsManager.getRichGroupsAssignedToResourceWithAttributesByNames
(PerunSession sess, Resource resource, List<String> attrNames) Get list of all richGroups with selected attributes assigned to resource.UsersManager.getRichGroupsWhereUserIsActive
(PerunSession sess, Facility facility, User user, List<String> attrNames) Return all groups where user is active (has VALID status in VO and Group together) for specified user and resourceUsersManager.getRichGroupsWhereUserIsActive
(PerunSession sess, Resource resource, User user, List<String> attrNames) Return all RichGroups where user is active (has VALID status in VO and Group together) for specified user and resource with specified group attributes by their names (URNs).MembersManager.getRichMemberById
(PerunSession sess, int id) Get richMember without attribute by id of memberMembersManager.getRichMembers
(PerunSession sess, Group group) Get all rich members of Group.MembersManager.getRichMembers
(PerunSession sess, Vo vo) Get all rich members of VO.MembersManager.getRichMembers
(PerunSession sess, Vo vo, Status status) Get all rich members of VO with specified status.MembersManager.getRichMembersByIds
(PerunSession sess, List<Integer> ids, List<String> attrsNames) Returns rich members by their IDs with specific attributes.MembersManager.getRichMembersNoUserAttributes
(PerunSession sess, Vo vo) Get all rich members of VO.MembersManager.getRichMembersWithAttributes
(PerunSession sess, Group group, List<AttributeDefinition> attrsDef) Get RichMembers with Attributes but only with selected attributes from list attrsDef for group.MembersManager.getRichMembersWithAttributes
(PerunSession sess, Vo vo) Get all rich members of VO.MembersManager.getRichMembersWithAttributes
(PerunSession sess, Vo vo, Status status) Get all rich members of VO with specified status.MembersManager.getRichMembersWithAttributes
(PerunSession sess, Vo vo, List<AttributeDefinition> attrsDef) Get RichMembers with Attributes but only with selected attributes from list attrsDef for vo.MembersManager.getRichMembersWithAttributes
(PerunSession sess, List<String> allowedStatuses, Group group) Get all rich members with allowed statuses from specific group.MembersManager.getRichMembersWithAttributesByNames
(PerunSession sess, Group group, List<String> attrsNames) Get RichMembers with Attributes but only with selected attributes from list attrsDef for group.MembersManager.getRichMembersWithAttributesByNames
(PerunSession sess, Vo vo, List<String> attrsNames) Get RichMembers with Attributes but only with selected attributes from list attrsDef for vo.MembersManager.getRichMemberWithAttributes
(PerunSession sess, Member member) Get Member to RichMember with attributes.ResourcesManager.getRichResourceById
(PerunSession perunSession, int id) Search for the RichResource with specific id.ResourcesManager.getRichResources
(PerunSession perunSession, Vo vo) Get all VO rich resources with facility property filled.ResourcesManager.getRichResourcesByIds
(PerunSession perunSession, List<Integer> ids) Search for the RichResources with specific ids.GroupsManager.getRichSubGroupsWithAttributesByNames
(PerunSession sess, Group parentGroup, List<String> attrNames) Return RichSubGroups in parentGroup (only 1 level subgroups) containing selected attributesUsersManager.getRichUser
(PerunSession sess, User user) Get User to RichUser without attributes.UsersManager.getRichUserExtSources
(PerunSession perunSession, User user) Gets list of all user's external sources with attributes.UsersManager.getRichUserExtSources
(PerunSession perunSession, User user, List<String> attrsNames) Gets list of all user's external sources with attributes.UsersManager.getRichUsersByIds
(PerunSession sess, List<Integer> ids) Returns rich users without attributes by their ids.UsersManager.getRichUsersWithAttributesByIds
(PerunSession sess, List<Integer> ids) Returns rich users with attributes by their ids.UsersManager.getRichUsersWithoutVoAssigned
(PerunSession sess) Returns all RichUsers with attributes who are not member of any VO.UsersManager.getRichUsersWithoutVoWithAttributes
(PerunSession sess, List<String> attrNames) Returns list of RichUsers which are not members of any VO and with selected attributesUsersManager.getRichUserWithAttributes
(PerunSession sess, User user) Get User to RichUser with attributes.AuthzResolver.getRoleComplementaryObjectsWithAuthorizedGroups
(PerunSession sess, int userId) Returns map of role name and map of corresponding role complementary objects (perun beans) distinguished by type.static AuthzRoles
AuthzResolver.getRolesObtainedFromAuthorizedGroupMemberships
(PerunSession sess, int userId) Returns user's roles resulting from being a VALID member of authorized groups.SecurityTeamsManager.getSecurityTeamById
(PerunSession perunSession, int id) Find existing SecurityTeam by ID.SecurityTeamsManager.getSecurityTeamByName
(PerunSession perunSession, String name) Find existing SecurityTeam by name.SecurityTeamsManager.getSecurityTeams
(PerunSession perunSession) Get list of SecurityTeams by access rights - PERUNADMIN : all teams - SECURITYADMIN : teams where user is adminstatic List<SecurityTeam>
AuthzResolver.getSecurityTeamsWhereUserIsInRoles
(PerunSession sess, User user, List<String> roles) Get all SecurityTeams where the given user has set one of the given roles or the given user is a member of an authorized group with such roles.ServicesManager.getServiceById
(PerunSession perunSession, int id) Get service by id.ServicesManager.getServiceByName
(PerunSession perunSession, String name) Get service by name.ServicesManager.getServices
(PerunSession perunSession) get all services in perunServicesManager.getServicesBlockedOnDestination
(PerunSession perunSession, int destinationId) List all the Services that are banned on this destination.ServicesManager.getServicesBlockedOnFacility
(PerunSession perunSession, Facility facility) List all the Services that are banned on this facility.ServicesManager.getServicesByAttributeDefinition
(PerunSession sess, AttributeDefinition attributeDefinition) Get all services with given attribute.ServicesManager.getServicesFromServicesPackage
(PerunSession perunSession, ServicesPackage servicesPackage) List services stored in the packagesServicesManager.getServicesPackageById
(PerunSession perunSession, int servicesPackageId) Get package by IdServicesManager.getServicesPackageByName
(PerunSession perunSession, String name) Get package by nameServicesManager.getServicesPackages
(PerunSession perunSession) List packagesMembersManager.getServiceUserRichMembers
(PerunSession sess, Vo vo) Get RichMembers from a VO who are service users.UsersManager.getSpecificUsers
(PerunSession sess) Return all specific Users (only specific users)UsersManager.getSpecificUsersByUser
(PerunSession sess, User user) Return all specificUsers who are owned by the userMembersManager.getSponsoredMembers
(PerunSession sess, Vo vo) Gets list of sponsored members of a VO.MembersManager.getSponsoredMembers
(PerunSession sess, Vo vo, User user) Gets list of members of a VO sponsored by the given user.MembersManager.getSponsoredMembers
(PerunSession sess, Vo vo, User user, List<String> attrNames) Get all sponsored RichMembers with attributes by list of attribute names for specific User and Vo.MembersManager.getSponsoredMembersAndTheirSponsors
(PerunSession sess, Vo vo, List<String> attrNames) Gets list of sponsored members with sponsors.UsersManager.getSponsors
(PerunSession sess, Member member, List<String> attrNames) Deprecated.- use getSponsorsForMemberUsersManager.getSponsorsForMember
(PerunSession sess, Member member, List<String> attrNames) Gets list of users that sponsor the member, with attributes.GroupsManager.getSubGroups
(PerunSession sess, Group parentGroup) Get all subgroups of the parent group under the VO.int
GroupsManager.getSubGroupsCount
(PerunSession sess, Group parentGroup) Returns number of immediate subgroups of the parent group.GroupsManager.getSubgroupsPage
(PerunSession sess, Group group, GroupsPageQuery query, List<String> attrNames) Get page of subgroups from the given parent group.TasksManager.getTask
(PerunSession perunSession, Service service, Facility facility) Find Task for given Service and Facility.TasksManager.getTaskById
(PerunSession perunSession, int id) Retrieve Task given its id.TasksManager.getTaskResultsByTask
(PerunSession sess, int taskId) Get all TaskResult's for given TaskTasksManager.getTaskResultsByTaskAndDestination
(PerunSession session, int taskId, int destinationId) Find all task results for given task and destination.TasksManager.getTaskResultsByTaskOnlyNewest
(PerunSession session, int taskId) Retrieve the newest task results for given task.long
DatabaseManager.getTimeOfQueryPerformance
(PerunSession sess) Get time in ns "nanoseconds" of calling 1 simple update query to DB.UsersManager.getUserByExtSourceNameAndExtLogin
(PerunSession sess, String extSourceName, String extLogin) Get user by extSourceName and extSourceLoginUsersManager.getUserById
(PerunSession perunSession, int id) Returns user by his/her id.UsersManager.getUserByMember
(PerunSession perunSession, Member member) Returns user by VO member.UsersManager.getUserByUserExtSource
(PerunSession perunSession, UserExtSource userExtSource) Returns user by his login in external source and external source.UsersManager.getUserByUserExtSources
(PerunSession perunSession, List<UserExtSource> userExtSources) Returns user based on one of the userExtSource.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.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.AuthzResolver.getUserRoleNames
(PerunSession sess, User user) Get all user role names.static AuthzRoles
AuthzResolver.getUserRoles
(PerunSession sess, int userId, boolean getAuthorizedGroupBasedRoles) Returns user's direct roles, can also include roles resulting from being a VALID member of authorized groups.Searcher.getUsers
(PerunSession sess, Map<String, String> attributesWithSearchingValues) This method get Map of Attributes with searching values and try to find all users, which have specific attributes in format.UsersManager.getUsers
(PerunSession sess) Returns all users (included specific users).UsersManager.getUsersByAttribute
(PerunSession sess, Attribute attribute) Returns all users who have set the attribute with the value.UsersManager.getUsersByAttribute
(PerunSession sess, String attributeName, String attributeValue) Returns all users who have set the attribute with the value.UsersManager.getUsersByAttributeValue
(PerunSession sess, String attributeName, String attributeValue) Returns all users who have the attribute with the value.UsersManager.getUsersByIds
(PerunSession perunSession, List<Integer> ids) Returns existing users by their ids.UsersManager.getUsersBySpecificUser
(PerunSession sess, User specificUser) Return all users who owns the specific oneSearcher.getUsersForCoreAttributes
(PerunSession sess, Map<String, String> coreAttributesWithSearchingValues) This method take map of coreAttributes with search values and return all users who have the specific match for all of these core attributes.UsersManager.getUsersPage
(PerunSession sess, UsersPageQuery query, List<String> attrNames) Get page of users with the given attributes.UsersManager.getUsersWithoutSpecificVo
(PerunSession sess, Vo vo, String searchString) Return list of users who matches the searchString, searching name, email and logins and are not member in specific VO.UsersManager.getUsersWithoutVoAssigned
(PerunSession sess) Returns all users who are not member of any VO.GroupsManager.getVo
(PerunSession sess, Group group) Gets the Vo which is owner of the group.ResourcesManager.getVo
(PerunSession perunSession, Resource resource) Get Vo which is tied to specified resource.VosManager.getVoById
(PerunSession perunSession, int id) Finds existing VO by id.VosManager.getVoByShortName
(PerunSession perunSession, String shortName) Find existing VO by short name (short name is unique).ExtSourcesManager.getVoExtSources
(PerunSession perunSession, Vo vo) Get list of external sources associated with the VO.VosManager.getVoMembersCountsByStatus
(PerunSession sess, Vo vo) Returns number of vo members by their status.VosManager.getVos
(PerunSession perunSession) Get list of Vos by Access Righs: If User is: - PERUNADMIN : get all Vos - VoAdmin : Vo where user is Admin - GroupAdmin: Vo where user is GroupAdminVosManager.getVosByIds
(PerunSession perunSession, List<Integer> ids) Finds existing VOs by ids.UsersManager.getVosWhereUserIsAdmin
(PerunSession perunSession, User user) Returns list of VOs, where the user is an Administrator.AuthzResolver.getVosWhereUserIsInRoles
(PerunSession sess, User user, List<String> roles) Get all Vos where the given user has set one of the given roles or the given user is a member of an authorized group with such roles.UsersManager.getVosWhereUserIsMember
(PerunSession perunSession, User user) Returns list of VOs, where the user is a member.boolean
GroupsManager.isAllowedGroupToHierarchicalVo
(PerunSession sess, Group group, Vo vo) Returns flag representing if the group can be included in the (parent) vo's groupsboolean
ConfigManager.isArchiveSpoolEnabled
(PerunSession sess) Checks whether spool files generated by the engine should be archivedboolean
GroupsManager.isDirectGroupMember
(PerunSession sess, Group group, Member member) Return true if Member is direct member of the GroupAuthzResolver.isGroupLastAdminInFacilities
(PerunSession sess, Group group, List<Facility> facilities) Checks the facilities and returns those in which group is the last adminGroupsManager.isGroupLastAdminInSomeFacility
(PerunSession sess, List<Group> groups) Check whether some of the groups supply the last FACILITYADMIN in some facility, return the groups that do.GroupsManager.isGroupLastAdminInSomeVo
(PerunSession sess, List<Group> groups) Check whether some of the groups supply the last VOADMIN in some vo, return the groups that do.AuthzResolver.isGroupLastAdminInVos
(PerunSession sess, Group group, List<Vo> vos) Checks the vos and return those in which group is the last admin.boolean
GroupsManager.isGroupMember
(PerunSession sess, Group group, Member member) Return true if Member is member of the Groupboolean
UsersManager.isLoginBlocked
(PerunSession sess, String login, boolean ignoreCase) Return true if login is blocked (globally - for all namespaces per instance OR for some namespace), false if not.boolean
UsersManager.isLoginBlockedForNamespace
(PerunSession sess, String login, String namespace, boolean ignoreCase) Return true if login is blocked for given namespace, false if not.boolean
UsersManager.isLoginBlockedGlobally
(PerunSession sess, String login) Return true if login is blocked globally (for all namespaces per instance - represented by namespace = null), false if not.boolean
ServicesManager.isServiceBlockedOnDestination
(PerunSession sess, Service service, int destinationId) Is this Service denied on the destination?boolean
ServicesManager.isServiceBlockedOnFacility
(PerunSession sess, Service service, Facility facility) Is this Service denied on the facility?boolean
TasksManager.isThereSuchTask
(PerunSession session, Service service, Facility facility) Check if if there is a task for given service and facility.AuthzResolver.isUserLastAdminInFacilities
(PerunSession sess, User user, List<Facility> facilities) Checks the facilities and returns those in which user is the last adminAuthzResolver.isUserLastAdminInVos
(PerunSession sess, User user, List<Vo> vos) Checks the vos and return those in which user is the last admin.boolean
UsersManager.isUserPerunAdmin
(PerunSession sess, User user) Deprecated.TasksManager.listAllTasks
(PerunSession perunSession) Retrieve all task results.TasksManager.listAllTasksForFacility
(PerunSession session, int facilityId) Returns all tasks associated with selected facilityTasksManager.listAllTasksInState
(PerunSession perunSession, Task.TaskStatus state) Retrieve all tasks in given statestatic void
AuthzResolver.loadAuthorizationComponents
(PerunSession sess) Load perun roles and policies from the configuration file perun-roles.yml.void
ExtSourcesManager.loadExtSourcesDefinitions
(PerunSession sess) Loads ext source definitions from the configuration file and updates entries stored in the DB.void
AuditMessagesManager.log
(PerunSession perunSession, String message) Log arbitrary audit message.boolean
UsersManager.loginExist
(PerunSession sess, User user, String loginNamespace) Check, if login exists in given login-namespace.void
GroupsManager.moveGroup
(PerunSession sess, Group destinationGroup, Group movingGroup) Move one group structure under another group in same vo or as top level groupvoid
MembersManager.moveMembership
(PerunSession sess, Vo vo, User sourceUser, User targetUser) Moves membership in VO from source user to target user - moves the source user's memberships in non-synchronized groups, member related attributes, bans and sponsorships in the VO.void
UsersManager.moveUserExtSource
(PerunSession perunSession, User sourceUser, User targetUser, UserExtSource userExtSource) Take UserExtSource from sourceUser and move it to the targetUser.boolean
ServicesManager.planServicePropagation
(PerunSession perunSession, Facility facility, Service service) Plans service propagation on defined facility.boolean
ServicesManager.planServicePropagation
(PerunSession perunSession, Service service) Forces service propagation on all facilities where the service is defined on.AuditMessagesManager.pollConsumerEvents
(PerunSession perunSession, String consumerName) Returns list of AuditEvents from audit log with IDs > lastProcessedId for registered auditer consumer.AuditMessagesManager.pollConsumerEvents
(PerunSession perunSession, String consumerName, int lastProcessedId) Returns list of AuditEvents from audit log with IDs > lastProcessedId for registered auditer consumer.AuditMessagesManager.pollConsumerMessages
(PerunSession perunSession, String consumerName) Returns list of AuditMessages from audit log with IDs > lastProcessedId for registered auditer consumer.AuditMessagesManager.pollConsumerMessages
(PerunSession perunSession, String consumerName, int lastProcessedId) Returns list of AuditMessages from audit log with IDs > lastProcessedId given.void
ConfigManager.reloadAppsConfig
(PerunSession sess) Reloads the configuration of brandings and their respective apps (see perun-apps-config.yml)void
FacilitiesManager.removeAdmin
(PerunSession sess, Facility facility, Group group) Removes a group administrator from the Facility.void
FacilitiesManager.removeAdmin
(PerunSession sess, Facility facility, User user) Removes a user administrator from the Facility.void
GroupsManager.removeAdmin
(PerunSession perunSession, Group group, Group authorizedGroup) Removes a group administrator of the group.void
GroupsManager.removeAdmin
(PerunSession perunSession, Group group, User user) Removes a user administrator form the group.void
ResourcesManager.removeAdmin
(PerunSession sess, Resource resource, Group group) Remove role resource admin from group for the selected resource.void
ResourcesManager.removeAdmin
(PerunSession sess, Resource resource, User user) Remove role resource admin from user for the selected resource.void
SecurityTeamsManager.removeAdmin
(PerunSession perunSession, SecurityTeam securityTeam, Group group) Remove security admin role for given security team from groupvoid
SecurityTeamsManager.removeAdmin
(PerunSession perunSession, SecurityTeam securityTeam, User user) Remove security admin role for given security team from uservoid
VosManager.removeAdmin
(PerunSession perunSession, Vo vo, Group group) Removes a group administrator from the VO.void
VosManager.removeAdmin
(PerunSession perunSession, Vo vo, User user) Removes a user administrator from the VO.void
AttributesManager.removeAllAttributes
(PerunSession sess, Facility facility) Unset all attributes for the facility.void
AttributesManager.removeAllAttributes
(PerunSession sess, Facility facility, boolean removeAlsoUserFacilityAttributes) Unset all attributes for the facility.void
AttributesManager.removeAllAttributes
(PerunSession sess, Facility facility, User user) Unset all attributes for the user on the facility.void
AttributesManager.removeAllAttributes
(PerunSession sess, Group group) Unset all attributes for the group.void
AttributesManager.removeAllAttributes
(PerunSession sess, Host host) Unset all attributes for the hostvoid
AttributesManager.removeAllAttributes
(PerunSession sess, Member member) Unset all attributes for the member.void
AttributesManager.removeAllAttributes
(PerunSession sess, Member member, Group group) Unset all attributes for the member in the group.void
AttributesManager.removeAllAttributes
(PerunSession sess, Member member, Resource resource) Unset all attributes for the member on the resource.void
AttributesManager.removeAllAttributes
(PerunSession sess, Resource resource) Unset all attributes for the resource.void
AttributesManager.removeAllAttributes
(PerunSession sess, Resource resource, Group group) Remove all attributes for group on resourcevoid
AttributesManager.removeAllAttributes
(PerunSession sess, Resource resource, Group group, boolean workWithGroupAttributes) Unset all attributes for the group and resource.void
AttributesManager.removeAllAttributes
(PerunSession sess, User user) Unset all attributes for the user.void
AttributesManager.removeAllAttributes
(PerunSession sess, UserExtSource ues) Unset all attributes for the user external source.void
AttributesManager.removeAllAttributes
(PerunSession sess, Vo vo) Unset all attributes for the vo.void
ServicesManager.removeAllDestinations
(PerunSession perunSession, Service service, Facility facility) Removes all defined destinations for the service and facility.void
ServicesManager.removeAllRequiredAttributes
(PerunSession perunSession, Service service) Detate all required attributes from servicevoid
ResourcesManager.removeAllResourcesTagFromResource
(PerunSession perunSession, Resource resource) Remove all Resource tags for specific resource.void
AttributesManager.removeAttribute
(PerunSession sess, Facility facility, AttributeDefinition attribute) Unset particular attribute for the facility.void
AttributesManager.removeAttribute
(PerunSession sess, Facility facility, User user, AttributeDefinition attribute) Unset particular attribute for the user on the facility.void
AttributesManager.removeAttribute
(PerunSession sess, Group group, AttributeDefinition attribute) Unset particular attribute for the group.void
AttributesManager.removeAttribute
(PerunSession sess, Host host, AttributeDefinition attribute) Unset particular attribute for the host.void
AttributesManager.removeAttribute
(PerunSession sess, Member member, AttributeDefinition attribute) Unset particular attribute for the member.void
AttributesManager.removeAttribute
(PerunSession sess, Member member, Group group, AttributeDefinition attribute) Unset particular attribute for the member in the group.void
AttributesManager.removeAttribute
(PerunSession sess, Member member, Resource resource, AttributeDefinition attribute) Unset particular attribute for the member on the resource.void
AttributesManager.removeAttribute
(PerunSession sess, Resource resource, AttributeDefinition attribute) Unset particular attribute for the resource.void
AttributesManager.removeAttribute
(PerunSession sess, Resource resource, Group group, AttributeDefinition attribute) Unset particular group attribute on the resourcevoid
AttributesManager.removeAttribute
(PerunSession sess, UserExtSource ues, AttributeDefinition attribute) Unset particular attribute for the user external source.void
AttributesManager.removeAttribute
(PerunSession sess, User user, AttributeDefinition attribute) Unset particular attribute for the user.void
AttributesManager.removeAttribute
(PerunSession sess, Vo vo, AttributeDefinition attribute) Unset particular attribute for the vo.void
AttributesManager.removeAttribute
(PerunSession sess, String key, AttributeDefinition attribute) Unset particular entityless attribute with subject equals key.void
AttributesManager.removeAttributes
(PerunSession sess, Facility facility, Resource resource, Group group, User user, Member member, List<? extends AttributeDefinition> attributes) Unset the member, user, member-group, member-resource and user-facility attributes.void
AttributesManager.removeAttributes
(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<? extends AttributeDefinition> attributes) Unset the member, user, member-resource and user-facility attributes.void
AttributesManager.removeAttributes
(PerunSession sess, Facility facility, User user, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
AttributesManager.removeAttributes
(PerunSession sess, Facility facility, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
AttributesManager.removeAttributes
(PerunSession sess, Group group, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
AttributesManager.removeAttributes
(PerunSession sess, Host host, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
AttributesManager.removeAttributes
(PerunSession sess, Member member, boolean workWithUserAttributes, List<? extends AttributeDefinition> attributes) Unset all non-empty attributes associated with the member and if workWithUserAttributes is true, unset all non-empty attributes associated with user, who is this member.void
AttributesManager.removeAttributes
(PerunSession sess, Member member, Group group, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
AttributesManager.removeAttributes
(PerunSession sess, Member member, Group group, List<? extends AttributeDefinition> attributes, boolean workWithUserAttributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
AttributesManager.removeAttributes
(PerunSession sess, Member member, Resource resource, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
AttributesManager.removeAttributes
(PerunSession sess, Member member, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
AttributesManager.removeAttributes
(PerunSession sess, Resource resource, Group group, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
AttributesManager.removeAttributes
(PerunSession sess, Resource resource, Group group, List<? extends AttributeDefinition> attributes, boolean workWithGroupAttributes) Unset the group-resource attributes.void
AttributesManager.removeAttributes
(PerunSession sess, Resource resource, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
AttributesManager.removeAttributes
(PerunSession sess, UserExtSource ues, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
AttributesManager.removeAttributes
(PerunSession sess, User user, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
AttributesManager.removeAttributes
(PerunSession sess, Vo vo, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
FacilitiesManager.removeBan
(PerunSession sess, int banId) Remove existing ban by it's id.void
FacilitiesManager.removeBan
(PerunSession sess, int userId, int facilityId) Remove existing ban by id of user and facility.void
ResourcesManager.removeBan
(PerunSession sess, int banId) Remove specific ban by it's id.void
ResourcesManager.removeBan
(PerunSession sess, int memberId, int resourceId) Remove specific ban by memberId and resourceId.void
VosManager.removeBan
(PerunSession sess, int banId) Remove vo ban with given id.void
VosManager.removeBanForMember
(PerunSession sess, Member member) Remove vo ban for given member.void
ServicesManager.removeDestination
(PerunSession perunSession, Service service, Facility facility, Destination destination) Removes an destination from the facility and service.void
ServicesManager.removeDestinationsByRichDestinations
(PerunSession perunSession, List<RichDestination> richDestinations) Removes destinations defined by list of rich destinations.void
ExtSourcesManager.removeExtSource
(PerunSession perunSession, Group group, ExtSource source) Remove association of the external source from the GROUP.void
ExtSourcesManager.removeExtSource
(PerunSession perunSession, Vo vo, ExtSource source) Remove association of the external source from the VO.void
ExtSourcesManager.removeExtSources
(PerunSession perunSession, Group group, List<ExtSource> sources) Remove associations of external sources from the GROUP.void
ExtSourcesManager.removeExtSources
(PerunSession perunSession, Vo vo, List<ExtSource> sources) Remove associations of external sources from the VO.void
ResourcesManager.removeGroupFromResource
(PerunSession perunSession, Group group, Resource resource) Remove group from a resource.void
ResourcesManager.removeGroupFromResources
(PerunSession perunSession, Group groups, List<Resource> resources) Remove group from the resources.void
ResourcesManager.removeGroupsFromResource
(PerunSession perunSession, List<Group> groups, Resource resource) Remove groups from a resource.void
GroupsManager.removeGroupUnion
(PerunSession sess, Group resultGroup, Group operandGroup) Removes a union relation between two groups.void
GroupsManager.removeGroupUnions
(PerunSession sess, Group resultGroup, List<Group> operandGroups) Removes a union relations between groups.void
FacilitiesManager.removeHost
(PerunSession perunSession, Host host) Remove hosts from the Facility.void
FacilitiesManager.removeHostByHostname
(PerunSession perunSession, String hostname) Remove host from the Facility based on hostname.void
FacilitiesManager.removeHosts
(PerunSession sess, List<Host> hosts, Facility facility) Remove hosts from the Facility.void
GroupsManager.removeMember
(PerunSession perunSession, Group group, Member member) Removes member form the group.void
GroupsManager.removeMember
(PerunSession perunSession, Member member, List<Group> groups) Removes a member from a list of groups.void
GroupsManager.removeMembers
(PerunSession perunSession, Group group, List<Member> members) Removes members from a group.void
VosManager.removeMemberVo
(PerunSession sess, Vo vo, Vo memberVo) Removes member vo from given vo.void
FacilitiesManager.removeOwner
(PerunSession perunSession, Facility facility, Owner owner) Remove owner of the facilityvoid
FacilitiesManager.removeOwners
(PerunSession sess, Facility facility, List<Owner> owners) Remove owners of the facilityvoid
ServicesManager.removeRequiredAttribute
(PerunSession perunSession, Service service, AttributeDefinition attribute) Remove required attribute from service.void
ServicesManager.removeRequiredAttributes
(PerunSession perunSession, Service service, List<? extends AttributeDefinition> attributes) Batch version of removeRequiredAttributevoid
ResourcesManager.removeResourceSelfServiceGroup
(PerunSession sess, Resource resource, Group group) Unset ResourceSelfService role to given group for given resource.void
ResourcesManager.removeResourceSelfServiceUser
(PerunSession sess, Resource resource, User user) Unset ResourceSelfService role to given user for given resource.void
ResourcesManager.removeResourceTagFromResource
(PerunSession perunSession, ResourceTag resourceTag, Resource resource) Remove specific ResourceTag from existing Resource.void
ResourcesManager.removeResourceTagsFromResource
(PerunSession perunSession, List<ResourceTag> resourceTags, Resource resource) Remove specific ResourceTags from existing Resource.void
FacilitiesManager.removeSecurityTeam
(PerunSession sess, Facility facility, SecurityTeam securityTeam) Remove (Unassign) given security team from given facilityvoid
ResourcesManager.removeService
(PerunSession perunSession, Resource resource, Service service) Remove service from resource.void
ResourcesManager.removeService
(PerunSession perunSession, List<Resource> resources, Service service) Remove service from multiple resources in the same facilityvoid
ServicesManager.removeServiceFromServicesPackage
(PerunSession perunSession, ServicesPackage servicesPackage, Service service) Remove Service from Services Packagevoid
ResourcesManager.removeServices
(PerunSession perunSession, Resource resource, List<Service> services) Remove services from resource.void
ResourcesManager.removeServicesPackage
(PerunSession perunSession, Resource resource, ServicesPackage servicesPackage) Remove from resource all services from services package.void
UsersManager.removeSpecificUserOwner
(PerunSession sess, User user, User specificUser) Remove specificUser owner (the user) Only disable ownership of user and specificUservoid
MembersManager.removeSponsor
(PerunSession sess, Member sponsoredMember, User sponsorToRemove) Removes the sponsor.void
VosManager.removeSponsorRole
(PerunSession sess, Vo vo, Group group) Removes role SPONSOR from group in a VO.void
VosManager.removeSponsorRole
(PerunSession sess, Vo vo, User user) Removes role SPONSOR from user in a VO.void
MembersManager.removeSponsors
(PerunSession sess, Member sponsoredMember, List<User> sponsorsToRemove) Removes the sponsors from member.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
UsersManager.removeUserExtSources
(PerunSession perunSession, User user, List<UserExtSource> userExtSources, boolean forceDelete) Removes user's external sources.void
SecurityTeamsManager.removeUserFromBlacklist
(PerunSession perunSession, SecurityTeam securityTeam, User user) remove user from blacklist of given security teamvoid
UsersManager.requestPreferredEmailChange
(PerunSession sess, String url, User user, String email, String lang, String path, String idp) Request change of user's preferred email address.void
UsersManager.reservePassword
(PerunSession sess, User user, String loginNamespace, String password) Reserves the password in external system.void
UsersManager.reservePassword
(PerunSession sess, String userLogin, String loginNamespace, String password) Reserves the password in external system.void
UsersManager.reserveRandomPassword
(PerunSession sess, User user, String loginNamespace) Reserves random password in external system.void
MembersManager.sendAccountActivationLinkEmail
(PerunSession sess, Member member, String namespace, String url, String mailAttributeUrn, String language) Send mail to user's preferred email address with link for non-authz account activation.void
MembersManager.sendPasswordResetLinkEmail
(PerunSession sess, Member member, String namespace, String url, String mailAttributeUrn, String language) Send mail to user's preferred email address with link for non-authz password reset.void
MembersManager.sendUsernameReminderEmail
(PerunSession sess, Member member, String namespace, String mailAttributeUrn, String language) Send mail to user's preferred email address with reminder of the username in the given namespace.void
AttributesManager.setAttribute
(PerunSession sess, Facility facility, Attribute attribute) Store the particular attribute associated with the facility.void
AttributesManager.setAttribute
(PerunSession sess, Facility facility, User user, Attribute attribute) Store the attribute associated with the facility and user combination.void
AttributesManager.setAttribute
(PerunSession sess, Group group, Attribute attribute) Store the particular attribute associated with the group.void
AttributesManager.setAttribute
(PerunSession sess, Host host, Attribute attribute) Store the attribute associated with the host.void
AttributesManager.setAttribute
(PerunSession sess, Member member, Attribute attribute) Store the particular attribute associated with the member.void
AttributesManager.setAttribute
(PerunSession sess, Member member, Group group, Attribute attribute) Store the particular attribute associated with the group and member combination.void
AttributesManager.setAttribute
(PerunSession sess, Member member, Resource resource, Attribute attribute) Store the particular attribute associated with the resource and member combination.void
AttributesManager.setAttribute
(PerunSession sess, Resource resource, Attribute attribute) Store the particular attribute associated with the resource.void
AttributesManager.setAttribute
(PerunSession sess, Resource resource, Group group, Attribute attribute) Stores attribute associated with group resource combination.void
AttributesManager.setAttribute
(PerunSession sess, UserExtSource ues, Attribute attribute) Store the attribute associated with the user external source.void
AttributesManager.setAttribute
(PerunSession sess, User user, Attribute attribute) Store the attribute associated with the user.void
AttributesManager.setAttribute
(PerunSession sess, Vo vo, Attribute attribute) Store the particular attribute associated with the vo.void
AttributesManager.setAttribute
(PerunSession sess, String key, Attribute attribute) Stores entityless attribute (associateed witk string key).void
AttributesManager.setAttributeActionCriticality
(PerunSession sess, AttributeDefinition attr, AttributeAction action, boolean critical, boolean global) Marks the action on attribute as critical, which may require additional authentication of user performing that action on attribute.void
AttributesManager.setAttributePolicyCollections
(PerunSession sess, List<AttributePolicyCollection> policyCollections) Deletes old attribute policy collections and sets all new attribute policy collections.void
AttributesManager.setAttributeRights
(PerunSession sess, List<AttributeRights> rights) Deprecated.void
AttributesManager.setAttributes
(PerunSession sess, Facility facility, Resource resource, Group group, User user, Member member, List<Attribute> attributes) Store the member, user, member-group, member-resource and user-facility attributes.void
AttributesManager.setAttributes
(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) Store the member, user, member-resource and user-facility attributes.void
AttributesManager.setAttributes
(PerunSession sess, Facility facility, User user, List<Attribute> attributes) Store the attributes associated with the facility and user combination.void
AttributesManager.setAttributes
(PerunSession sess, Facility facility, List<Attribute> attributes) Store the attributes associated with the facility.void
AttributesManager.setAttributes
(PerunSession sess, Group group, List<Attribute> attributes) Store the attributes associated with the group.void
AttributesManager.setAttributes
(PerunSession sess, Host host, List<Attribute> attributes) Store the attributes associated with the host.void
AttributesManager.setAttributes
(PerunSession sess, Member member, Group group, List<Attribute> attributes) Store the attributes associated with the member and group combination.void
AttributesManager.setAttributes
(PerunSession sess, Member member, Group group, List<Attribute> attributes, boolean workWithUserAttributes) Store the attributes associated with the member and group combination.void
AttributesManager.setAttributes
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) Store the attributes associated with the resource and member combination.void
AttributesManager.setAttributes
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) Store the attributes associated with the resource and member combination.void
AttributesManager.setAttributes
(PerunSession sess, Member member, List<Attribute> attributes) Store the attributes associated with the resource.void
AttributesManager.setAttributes
(PerunSession sess, Member member, List<Attribute> attributes, boolean workWithUserAttributes) Store the attributes associated with member and user (which we get from this member) if workWithUserAttributes is true.void
AttributesManager.setAttributes
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) Store the attributes associated with the group on resource.void
AttributesManager.setAttributes
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes, boolean workWithGroupAttributes) Store the attributes associated with group and resource if workWithUserAttributes is true then also from group itself.void
AttributesManager.setAttributes
(PerunSession sess, Resource resource, List<Attribute> attributes) Store the attributes associated with the resource.void
AttributesManager.setAttributes
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) Store the attributes associated with the user external source.void
AttributesManager.setAttributes
(PerunSession sess, User user, List<Attribute> attributes) Store the attributes associated with the user.void
AttributesManager.setAttributes
(PerunSession sess, Vo vo, List<Attribute> attributes) Store the attributes associated with the vo.FacilitiesManager.setBan
(PerunSession sess, BanOnFacility banOnFacility) Set ban for user on facility.ResourcesManager.setBan
(PerunSession sess, BanOnResource banOnResource) Set ban for member on resource.VosManager.setBan
(PerunSession sess, BanOnVo ban) Set ban for member on his vo.void
AuditMessagesManager.setLastProcessedId
(PerunSession perunSession, String consumerName, int lastProcessedId) Deprecated.void
UsersManager.setLogin
(PerunSession sess, User user, String loginNamespace, String login) Allow users to manually add login in supported namespace if same login is not reserved.GroupsManager.setMemberGroupStatus
(PerunSession sess, Member member, Group group, MemberGroupStatus status) Set Members Group status for specified DIRECT member and group.void
FacilitiesManager.setOwners
(PerunSession perunSession, Facility facility, List<Owner> owners) Deprecated.Use addOwner and removeOwner insteadstatic void
AuthzResolver.setRole
(PerunSession sess, Group authorizedGroup, PerunBean complementaryObject, String role) Set role for authorizedGroup and one complementary object.static void
AuthzResolver.setRole
(PerunSession sess, Group authorizedGroup, String role, List<PerunBean> complementaryObjects) Set role for auhtorizedGroup and all complementary objects.static void
AuthzResolver.setRole
(PerunSession sess, User user, PerunBean complementaryObject, String role) Set role for user and one complementary object.static void
AuthzResolver.setRole
(PerunSession sess, User user, String role, List<PerunBean> complementaryObjects) Set role for user and all complementary objects.static void
AuthzResolver.setRole
(PerunSession sess, List<Group> authorizedGroups, PerunBean complementaryObject, String role) Set role for authorizedGroups and one complementary object.static void
AuthzResolver.setRole
(PerunSession sess, List<User> users, String role, PerunBean complementaryObject) Set role for given users and one complementary object.UsersManager.setSpecificUser
(PerunSession sess, User specificUser, SpecificUserType specificUserType, User owner) Set specific user type for specific user and set ownership of this user for the owner.MembersManager.setSponsoredMember
(PerunSession session, Vo vo, User userToBeSponsored, String namespace, String password, String login, User sponsor, LocalDate validityTo) Creates a sponsored membership for the given user.MembersManager.setSponsorshipForMember
(PerunSession session, Member sponsoredMember, User sponsor, LocalDate validityTo) Transform non-sponsored member to sponsored one with defined sponsorMembersManager.setStatus
(PerunSession sess, Member member, Status status) Set status of the member to specified status.static boolean
AuthzResolver.someAdminExists
(PerunSession sess, PerunBean complementaryObject, String role, boolean onlyDirectAdmins) Check if some valid user with specific role exists for given complementary object (for group-based rights, status must be VALID for both Vo and group).boolean
MembersManager.someAvailableSponsorExistsForMember
(PerunSession sess, Member member) Checks if some vo sponsor who does not already sponsor given member exists.MembersManager.sponsorMember
(PerunSession session, Member sponsored, User sponsor, LocalDate validityTo) Assigns a new sponsor to an existing member.void
MembersManager.sponsorMembers
(PerunSession session, List<Member> sponsored, User sponsor, LocalDate validityTo) Assigns a new sponsor to existing members.void
MembersManager.suspendMemberTo
(PerunSession sess, Member member, Date suspendedTo) Set date to which will be member suspended in his VO.void
TasksManager.suspendTasksPropagation
(PerunSession perunSession, boolean suspend) Suspends tasks propagation to engine.void
GroupsManager.synchronizeGroups
(PerunSession sess) Synchronize all groups which have enabled synchronization.void
GroupsManager.synchronizeGroupsStructures
(PerunSession sess) Synchronize all groups structures (with members) which have enabled group structure synchronization.void
ServicesManager.unblockAllServicesOnDestination
(PerunSession perunSession, int destinationId) Erase all the possible denials on this destination.void
ServicesManager.unblockAllServicesOnDestination
(PerunSession sess, String destinationName) Erase all the possible denials on destinations defined by the destinationName.void
ServicesManager.unblockAllServicesOnFacility
(PerunSession perunSession, Facility facility) Erase all the possible denials on this facility.void
UsersManager.unblockLogins
(PerunSession sess, List<String> logins, String namespace) Unblock logins for given namespace or unblock logins globally (if no namespace is selected)void
UsersManager.unblockLoginsById
(PerunSession sess, List<Integer> loginIds) Unblock logins by id globally, or in the namespace they were initially blocked.void
ServicesManager.unblockServiceOnDestination
(PerunSession perunSession, Service service, int destinationId) Free the denial of the Service on this destination.void
ServicesManager.unblockServiceOnFacility
(PerunSession perunSession, Service service, Facility facility) Free the denial of the Service on this facility.void
ServicesManager.unblockServicesOnDestinations
(PerunSession perunSession, List<RichDestination> richDestinations) Free the denial of the Service on the destination - each pair defined by the rich destination.void
ServicesManager.unblockServicesOnFacility
(PerunSession sess, List<Service> services, Facility facility) Free the denial of the services on this facility.static void
AuthzResolver.unsetRole
(PerunSession sess, Group authorizedGroup, PerunBean complementaryObject, String role) Unset role for group and one complementary objectstatic void
AuthzResolver.unsetRole
(PerunSession sess, Group authorizedGroup, String role, List<PerunBean> complementaryObjects) Unset role for group and all complementary objectsstatic void
AuthzResolver.unsetRole
(PerunSession sess, User user, PerunBean complementaryObject, String role) Unset role for user and one complementary object.static void
AuthzResolver.unsetRole
(PerunSession sess, User user, String role, List<PerunBean> complementaryObjects) Unset role for user and all complementary objectsstatic void
AuthzResolver.unsetRole
(PerunSession sess, List<Group> authorizedGroups, PerunBean complementaryObject, String role) Set role for authorizedGroups and one complementary object.static void
AuthzResolver.unsetRole
(PerunSession sess, List<User> users, String role, PerunBean complementaryObject) Set role for given users and one complementary object.UsersManager.unsetSpecificUser
(PerunSession sess, User specificUser, SpecificUserType specificUserType) Remove all ownerships of this specific user and unset this specific user type from this specific user.MembersManager.unsetSponsorshipForMember
(PerunSession session, Member sponsoredMember) Transform sponsored member to non-sponsored one.void
MembersManager.unsuspendMember
(PerunSession sess, Member member) Remove suspend state from Member - remove date to which member should be considered as suspended in the VO.AttributesManager.updateAttributeDefinition
(PerunSession perunSession, AttributeDefinition attributeDefinition) Updates AttributeDefinition.FacilitiesManager.updateBan
(PerunSession sess, BanOnFacility banOnFacility) Update existing ban (description and validation timestamp)ResourcesManager.updateBan
(PerunSession sess, BanOnResource banOnResource) Update existing ban (description, validation timestamp)VosManager.updateBan
(PerunSession sess, BanOnVo banOnVo) Update existing ban (description, validation timestamp)ConsentsManager.updateConsentHub
(PerunSession perunSession, ConsentHub consentHub) Updates the consent hub.FacilitiesManager.updateFacility
(PerunSession perunSession, Facility facility) Updates facility.GroupsManager.updateGroup
(PerunSession perunSession, Group group) Updates group by ID.UsersManager.updateNameTitles
(PerunSession perunSession, User user) Updates titles before/after name of user.ResourcesManager.updateResource
(PerunSession perunSession, Resource resource) Updates Resource.ResourcesManager.updateResourceTag
(PerunSession perunSession, ResourceTag resourceTag) Update existing Resource tag.SecurityTeamsManager.updateSecurityTeam
(PerunSession perunSession, SecurityTeam securityTeam) Updates SecurityTeam.void
ServicesManager.updateService
(PerunSession perunSession, Service service) Updates the service.void
ServicesManager.updateServicesPackage
(PerunSession perunSession, ServicesPackage servicesPackage) Update packagevoid
MembersManager.updateSponsorshipValidity
(PerunSession sess, Member sponsoredMember, User sponsor, LocalDate newValidity) Update the sponsorship of given member for given sponsor.UsersManager.updateUser
(PerunSession perunSession, User user) Updates users data in DB.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.VosManager.updateVo
(PerunSession perunSession, Vo vo) Updates VO.MembersManager.validateMemberAsync
(PerunSession sess, Member member) Validate all attributes for member and set member's status to VALID.void
UsersManager.validatePassword
(PerunSession sess, User user, String loginNamespace) Validates the password in external system and sets user extSources and extSource related attributes.void
UsersManager.validatePassword
(PerunSession sess, String userLogin, String loginNamespace) Validates the password in external system and sets user extSources and extSource related attributes.UsersManager.validatePreferredEmailChange
(PerunSession sess, User user, UUID token) Validate change of user's preferred email address. -
Uses of PrivilegeException in cz.metacentrum.perun.core.bl
Modifier and TypeMethodDescriptionvoid
ServicesManagerBl.blockAllServicesOnDestination
(PerunSession perunSession, int destinationId) Block all services currently assigned on this destination.void
ServicesManagerBl.blockAllServicesOnFacility
(PerunSession perunSession, Facility facility) Block all services currently assigned on this facility.void
ServicesManagerBl.blockServiceOnDestination
(PerunSession perunSession, Service service, int destinationId) Bans Service on destination.ServicesManagerBl.getFacilityAssignedServicesForGUI
(PerunSession perunSession, Facility facility) Return list of ServiceForGUI assigned on facility, (Service with "allowedOnFacility" property filled).MembersManagerBl.getRichMembersNoUserAttributes
(PerunSession sess, Vo vo) Get all rich members of VO. -
Uses of PrivilegeException in cz.metacentrum.perun.core.blImpl
Modifier and TypeMethodDescriptionvoid
ServicesManagerBlImpl.blockAllServicesOnDestination
(PerunSession sess, int destinationId) -
Uses of PrivilegeException in cz.metacentrum.perun.core.entry
Modifier and TypeMethodDescriptionvoid
ResourcesManagerEntry.activateGroupResourceAssignment
(PerunSession sess, Group group, Resource resource, boolean async) void
FacilitiesManagerEntry.addAdmin
(PerunSession sess, Facility facility, Group group) void
FacilitiesManagerEntry.addAdmin
(PerunSession sess, Facility facility, User user) void
GroupsManagerEntry.addAdmin
(PerunSession sess, Group group, Group authorizedGroup) void
GroupsManagerEntry.addAdmin
(PerunSession sess, Group group, User user) void
ResourcesManagerEntry.addAdmin
(PerunSession sess, Resource resource, Group group) void
ResourcesManagerEntry.addAdmin
(PerunSession sess, Resource resource, User user) void
SecurityTeamsManagerEntry.addAdmin
(PerunSession sess, SecurityTeam securityTeam, Group group) void
SecurityTeamsManagerEntry.addAdmin
(PerunSession sess, SecurityTeam securityTeam, User user) void
VosManagerEntry.addAdmin
(PerunSession sess, Vo vo, Group group) void
VosManagerEntry.addAdmin
(PerunSession sess, Vo vo, User user) ServicesManagerEntry.addDestination
(PerunSession sess, Service service, Facility facility, Destination destination) ServicesManagerEntry.addDestination
(PerunSession perunSession, List<Service> services, Facility facility, Destination destination) ServicesManagerEntry.addDestinationsDefinedByHostsOnFacility
(PerunSession perunSession, Facility facility) ServicesManagerEntry.addDestinationsDefinedByHostsOnFacility
(PerunSession perunSession, Service service, Facility facility) ServicesManagerEntry.addDestinationsDefinedByHostsOnFacility
(PerunSession perunSession, List<Service> services, Facility facility) ServicesManagerEntry.addDestinationsForAllServicesOnFacility
(PerunSession sess, Facility facility, Destination destination) void
ExtSourcesManagerEntry.addExtSource
(PerunSession sess, Group group, ExtSource source) void
ExtSourcesManagerEntry.addExtSource
(PerunSession sess, Vo vo, ExtSource source) void
ExtSourcesManagerEntry.addExtSources
(PerunSession sess, Group group, List<ExtSource> sources) void
ExtSourcesManagerEntry.addExtSources
(PerunSession sess, Vo vo, List<ExtSource> sources) FacilitiesManagerEntry.addHost
(PerunSession sess, Host host, Facility facility) FacilitiesManagerEntry.addHosts
(PerunSession sess, Facility facility, List<String> hosts) FacilitiesManagerEntry.addHosts
(PerunSession sess, List<Host> hosts, Facility facility) void
GroupsManagerEntry.addMember
(PerunSession sess, Group group, Member member) void
GroupsManagerEntry.addMember
(PerunSession sess, List<Group> groups, Member member) void
MembersManagerEntry.addMemberCandidates
(PerunSession sess, Vo vo, List<MemberCandidate> candidates) void
MembersManagerEntry.addMemberCandidates
(PerunSession sess, Vo vo, List<MemberCandidate> candidates, Group group) void
GroupsManagerEntry.addMembers
(PerunSession sess, Group group, List<Member> members) void
VosManagerEntry.addMemberVo
(PerunSession sess, Vo vo, Vo memberVo) void
FacilitiesManagerEntry.addOwner
(PerunSession sess, Facility facility, Owner owner) void
FacilitiesManagerEntry.addOwners
(PerunSession sess, Facility facility, List<Owner> owners) void
ServicesManagerEntry.addRequiredAttribute
(PerunSession sess, Service service, AttributeDefinition attribute) void
ServicesManagerEntry.addRequiredAttributes
(PerunSession sess, Service service, List<? extends AttributeDefinition> attributes) void
ResourcesManagerEntry.addResourceSelfServiceGroup
(PerunSession sess, Resource resource, Group group) void
ResourcesManagerEntry.addResourceSelfServiceUser
(PerunSession sess, Resource resource, User user) void
ServicesManagerEntry.addServiceToServicesPackage
(PerunSession sess, ServicesPackage servicesPackage, Service service) void
UsersManagerEntry.addSpecificUserOwner
(PerunSession sess, User user, User specificUser) void
VosManagerEntry.addSponsorRole
(PerunSession sess, Vo vo, Group group) Adds role SPONSOR for group in a VO.void
VosManagerEntry.addSponsorRole
(PerunSession sess, Vo vo, User user) Adds role SPONSOR for user in a VO.UsersManagerEntry.addUserExtSource
(PerunSession sess, User user, UserExtSource userExtSource) UsersManagerEntry.addUserExtSourceWithAttributes
(PerunSession sess, User user, UserExtSource userExtSource, List<Attribute> uesAttributes) void
SecurityTeamsManagerEntry.addUserToBlacklist
(PerunSession sess, SecurityTeam securityTeam, User user, String description) void
GroupsManagerEntry.allowGroupsToHierarchicalVo
(PerunSession sess, List<Group> groups, Vo vo) void
GroupsManagerEntry.allowGroupToHierarchicalVo
(PerunSession sess, Group group, Vo vo) void
UsersManagerEntry.anonymizeUser
(PerunSession sess, User user, boolean force) void
ResourcesManagerEntry.assignGroupsToResource
(PerunSession perunSession, List<Group> groups, Resource resource, boolean async, boolean assignInactive, boolean autoAssignSubgroups) void
ResourcesManagerEntry.assignGroupToResource
(PerunSession sess, Group group, Resource resource, boolean async, boolean assignInactive, boolean autoAssignSubgroups) void
ResourcesManagerEntry.assignGroupToResources
(PerunSession perunSession, Group group, List<Resource> resources, boolean async, boolean assignInactive, boolean autoAssignSubgroups) void
ResourcesManagerEntry.assignResourceTagsToResource
(PerunSession perunSession, List<ResourceTag> resourceTags, Resource resource) void
ResourcesManagerEntry.assignResourceTagToResource
(PerunSession perunSession, ResourceTag resourceTag, Resource resource) void
FacilitiesManagerEntry.assignSecurityTeam
(PerunSession sess, Facility facility, SecurityTeam securityTeam) void
ResourcesManagerEntry.assignService
(PerunSession sess, Resource resource, Service service) void
ResourcesManagerEntry.assignServices
(PerunSession sess, Resource resource, List<Service> services) void
ResourcesManagerEntry.assignServicesPackage
(PerunSession sess, Resource resource, ServicesPackage servicesPackage) void
ServicesManagerEntry.blockAllServicesOnDestination
(PerunSession sess, int destinationId) void
ServicesManagerEntry.blockAllServicesOnFacility
(PerunSession sess, Facility facility) void
UsersManagerEntry.blockLogins
(PerunSession sess, List<String> logins, String namespace) void
ServicesManagerEntry.blockServiceOnDestination
(PerunSession sess, Service service, int destinationId) void
ServicesManagerEntry.blockServiceOnFacility
(PerunSession sess, Service service, Facility facility) void
ServicesManagerEntry.blockServicesOnDestinations
(PerunSession sess, List<RichDestination> richDestinations) void
ServicesManagerEntry.blockServicesOnFacility
(PerunSession sess, List<Service> services, Facility facility) boolean
MembersManagerEntry.canBeMember
(PerunSession sess, Vo vo, User user, String loa) boolean
MembersManagerEntry.canBeMemberWithReason
(PerunSession sess, Vo vo, User user, String loa) boolean
MembersManagerEntry.canExtendMembership
(PerunSession sess, Member member) boolean
GroupsManagerEntry.canExtendMembershipInGroup
(PerunSession sess, Member member, Group group) boolean
GroupsManagerEntry.canExtendMembershipInGroupWithReason
(PerunSession sess, Member member, Group group) boolean
MembersManagerEntry.canExtendMembershipWithReason
(PerunSession sess, Member member) ConsentsManagerEntry.changeConsentStatus
(PerunSession sess, Consent consent, ConsentStatus status) void
UsersManagerEntry.changePassword
(PerunSession sess, User user, String loginNamespace, String oldPassword, String newPassword, boolean checkOldPassword) void
UsersManagerEntry.changePassword
(PerunSession sess, String login, String loginNamespace, String oldPassword, String newPassword, boolean checkOldPassword) UsersManagerEntry.changePasswordRandom
(PerunSession sess, User user, String loginNamespace) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, Facility facility, Attribute attribute) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, Facility facility, User user, Attribute attribute) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, Group group, Attribute attribute) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, Host host, Attribute attribute) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, Member member, Attribute attribute) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, Member member, Group group, Attribute attribute) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, Member member, Resource resource, Attribute attribute) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, Resource resource, Attribute attribute) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, Resource resource, Group group, Attribute attribute) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, UserExtSource ues, Attribute attribute) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, User user, Attribute attribute) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, Vo vo, Attribute attribute) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Facility facility, User user, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Facility facility, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Host host, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Member member, Group group, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Member member, Group group, List<Attribute> attributes, boolean workWithUserAttributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Member member, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes, boolean workWithGroupAttribute) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Resource resource, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, User user, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Vo vo, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Facility facility, User user, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Facility facility, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Host host, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Member member, Group group, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Member member, Group group, List<Attribute> attributes, boolean workWithUserAttributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Member member, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes, boolean workWithGroupAttribute) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Resource resource, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, UserExtSource ues, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, User user, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Vo vo, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, Facility facility, Attribute attribute) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, Facility facility, User user, Attribute attribute) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, Group group, Attribute attribute) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, Host host, Attribute attribute) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, Member member, Attribute attribute) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, Member member, Group group, Attribute attribute) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, Member member, Resource resource, Attribute attribute) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, Resource resource, Attribute attribute) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, Resource resource, Group group, Attribute attribute) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, UserExtSource ues, Attribute attribute) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, User user, Attribute attribute) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, Vo vo, Attribute attribute) void
AttributesManagerEntry.convertAttributeToNonunique
(PerunSession session, int attrId) void
AttributesManagerEntry.convertAttributeToUnique
(PerunSession session, int attrId) void
VosManagerEntry.convertSponsoredUsers
(PerunSession sess, Vo vo) void
VosManagerEntry.convertSponsoredUsersWithNewSponsor
(PerunSession sess, Vo vo, User newSponsor) void
FacilitiesManagerEntry.copyAttributes
(PerunSession sess, Facility sourceFacility, Facility destinationFacility) void
ResourcesManagerEntry.copyAttributes
(PerunSession sess, Resource sourceResource, Resource destinationResource) void
ResourcesManagerEntry.copyGroups
(PerunSession sess, Resource sourceResource, Resource destinationResource) void
FacilitiesManagerEntry.copyManagers
(PerunSession sess, Facility sourceFacility, Facility destinationFacility) void
GroupsManagerEntry.copyMembers
(PerunSession sess, Group sourceGroup, List<Group> destinationGroups, List<Member> members) void
FacilitiesManagerEntry.copyOwners
(PerunSession sess, Facility sourceFacility, Facility destinationFacility) ResourcesManagerEntry.copyResource
(PerunSession sess, Resource templateResource, Resource destinationResource, boolean withGroups)