Uses of Class
cz.metacentrum.perun.core.api.PerunBean
Package
Description
Exceptions.
-
Uses of PerunBean in cz.metacentrum.perun.audit.events.AuthorizationEvents
Modifier and TypeMethodDescriptionRoleSetForGroup.getObject()
RoleSetForUser.getObject()
RoleUnsetForGroup.getObject()
RoleUnsetForUser.getObject()
ModifierConstructorDescriptionRoleSetForGroup
(PerunBean object, Group group, String role) RoleSetForUser
(PerunBean object, User user, String role) RoleUnsetForGroup
(PerunBean object, Group group, String role) RoleUnsetForUser
(PerunBean object, User user, String role) -
Uses of PerunBean in cz.metacentrum.perun.cabinet.model
Modifier and TypeClassDescriptionclass
Class representing author.class
Class represents Authorship = connection between publication and its author.class
This class represents a category (of publication).class
Class represents single Publication.class
Extension for single publication which provides more info for GUIclass
Class represents a publication system, i.e.class
Class represents Thanks = expression of acknowledgment from authors to facility owners.class
Extension for single Thanks to provide GUI more info -
Uses of PerunBean in cz.metacentrum.perun.controller.model
Modifier and TypeClassDescriptionclass
Extension of Service (from Perun-Core) to provide more info for GUI -
Uses of PerunBean in cz.metacentrum.perun.core.api
Modifier and TypeClassDescriptionclass
PerunBeanProcessingPool<T extends PerunBean>
Processing pool for processing PerunBeans as jobs.Modifier and TypeClassDescriptionclass
This class represents attribute (with value) of some object (VO, member).class
This class represents definition of attribute.class
This class represent audit information.class
Represents ban for someone on something in perun.class
Represents specific ban of user on facility.class
Represents specific ban of member on resource.class
class
Candidate member of a Virtual Organization or candidate user.class
Group obtained from an extSource with the login and login of its parent in the external source.class
Candidate used in group synchronization.class
Represents consent from a user to process their informationclass
Represents a list of facilities with joint consent management.class
Destination where services are propagated.class
External Source Beanclass
Class represents facility.class
Group entity.class
Representation of the physical host.class
Member of a Virtual Organization.class
Owner of resourcesclass
Represents resource.class
Resource Tag entity.class
Destination where services are propagated.class
Facility with list of all its ownersclass
Group with list of all its attributes.class
Member of a Virtual Organization.class
Object which represents RichResourceclass
class
Security team entityclass
class
class
class
Represents user of some source.class
User external authentication.class
Vo entity.Modifier and TypeMethodDescriptionAuthzResolver.getComplementaryObjectsForRole
(PerunSession sess, String role) Returns all complementary objects for defined role.AuthzResolver.getComplementaryObjectsForRole
(PerunSession sess, String role, Class perunBeanClass) Returns complementary objects for defined role filtered by particular class, e.g.Modifier and TypeMethodDescriptionstatic boolean
AuthzResolver.authorizedInternal
(PerunSession sess, String policyDefinition, PerunBean... objects) Checks if the principal is authorized.static boolean
AuthzResolver.authorizedToManageRole
(PerunSession sess, PerunBean complementaryObject, String role) Check whether the principal is authorized to manage the role on the object.static boolean
AuthzResolver.authorizedToReadRole
(PerunSession sess, PerunBean complementaryObject, String role) Check whether the principal is authorized to read the role on the object.int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
Compare this object with another perunBean.int
int
AuthzResolver.getAdminGroups
(PerunSession sess, PerunBean complementaryObject, String role) Get all authorizedGroups for complementary object and role.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.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.static boolean
AuthzResolver.hasOneOfTheRolesForObject
(PerunSession sess, PerunBean complementaryObject, Set<String> allowedRoles) This methods verifies if the current principal has one of the given roles for the given object.static boolean
AuthzResolver.isAuthorized
(PerunSession sess, String role, PerunBean complementaryObject) Deprecated.static boolean
AuthzResolver.isAuthorizedForAttribute
(PerunSession sess, ActionType actionType, AttributeDefinition attrDef, PerunBean bean) Deprecated.static boolean
AuthzResolver.isAuthorizedForAttribute
(PerunSession sess, AttributeAction actionType, AttributeDefinition attrDef, PerunBean bean, boolean checkMfa) Checks if the principal is authorized to do some action of PerunBean attribute.static 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, User user, PerunBean complementaryObject, String role) Set role for user and one complementary object.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.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).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, User user, PerunBean complementaryObject, String role) Unset role for user and one complementary object.static 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.Modifier and TypeMethodDescriptionstatic boolean
AuthzResolver.authorizedExternal
(PerunSession sess, String policyDefinition, List<PerunBean> objects) Checks if the principal is authorized.static boolean
AuthzResolver.authorizedInternal
(PerunSession sess, String policyDefinition, List<PerunBean> objects) Checks if the principal is authorized.AttributesManager.getAttributesDefinitionWithRights
(PerunSession sess, List<PerunBean> entities) Get all (for entities) attributeDefinitions which user has right to READ them and fill attribute writable (if user has also right to WRITE them).static String
BeansUtils.prepareInSqlClause
(String identifier, List<? extends PerunBean> beans) Create a string with set of IN clause.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, String role, List<PerunBean> complementaryObjects) Set role for user and all complementary objects.static 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, String role, List<PerunBean> complementaryObjects) Unset role for user and all complementary objects -
Uses of PerunBean in cz.metacentrum.perun.core.api.exceptions
Modifier and TypeMethodDescriptionPerunBeanNotSupportedException.getComplementaryObject()
Getter for the PerunBean objectModifierConstructorDescriptionPerunBeanNotSupportedException
(String message, PerunBean complementaryObject) PerunBeanNotSupportedException
(String message, PerunBean complementaryObject, Throwable cause) Constructor with the cause, the PerunBean object and the messagePerunBeanNotSupportedException
(Throwable cause, PerunBean complementaryObject) Constructor with the cause and the PerunBean object -
Uses of PerunBean in cz.metacentrum.perun.core.bl
Modifier and TypeMethodDescriptionModulesUtilsBl.checkAndTransferQuotas
(Attribute quotasAttribute, PerunBean firstPlaceholder, PerunBean secondPlaceholder, boolean withMetrics) Check if value in quotas attribute are in the right format.void
AttributesManagerBl.checkAttributeAssignment
(PerunSession sess, AttributeDefinition attributeDefinition, PerunBean handler) Check if attribute is from the same namespace as it's handlervoid
AttributesManagerBl.checkAttributeAssignment
(PerunSession sess, AttributeDefinition attributeDefinition, PerunBean handler1, PerunBean handler2) Check if attribute is from the same namespace as combination of perunBean handlers.Modifier and TypeMethodDescriptionAttributesManagerBl.getAttributesDefinitionWithRights
(PerunSession sess, List<PerunBean> entities) Get all (for entities) attributeDefinitions which user has right to READ them and fill attribute writable (if user has also right to WRITE them).static Array
DatabaseManagerBl.prepareSQLArrayOfNumbers
(List<? extends PerunBean> perunBeans, PreparedStatement preparedStatement) Take list of perunBeans and generate an array of ids in sql database from it. -
Uses of PerunBean in cz.metacentrum.perun.core.blImpl
Modifier and TypeMethodDescriptionAuthzResolverBlImpl.getComplementaryObjectsForRole
(PerunSession sess, String role) Returns all complementary objects for defined role.AuthzResolverBlImpl.getComplementaryObjectsForRole
(PerunSession sess, String role, Class perunBeanClass) Returns only complementary objects for defined role which fits perunBeanClass class.Modifier and TypeMethodDescriptionstatic boolean
AuthzResolverBlImpl.authorizedToManageRole
(PerunSession sess, PerunBean object, String roleName) Check whether the principal is authorized to manage the role on the object.static boolean
AuthzResolverBlImpl.authorizedToReadRole
(PerunSession sess, PerunBean object, String roleName) Check whether the principal is authorized to read the role on the object.ModulesUtilsBlImpl.checkAndTransferQuotas
(Attribute quotasAttribute, PerunBean firstPlaceholder, PerunBean secondPlaceholder, boolean withMetrics) void
AttributesManagerBlImpl.checkAttributeAssignment
(PerunSession sess, AttributeDefinition attributeDefinition, PerunBean handler) void
AttributesManagerBlImpl.checkAttributeAssignment
(PerunSession sess, AttributeDefinition attributeDefinition, PerunBean handler1, PerunBean handler2) AuthzResolverBlImpl.filterNotAllowedAttributes
(PerunSession sess, PerunBean bean, List<Attribute> attributes) From given attributes filter out the ones which are not allowed for the current principal.AuthzResolverBlImpl.getAdminGroups
(PerunBean complementaryObject, String role) Get all authorizedGroups for complementary object and role.AuthzResolverBlImpl.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.AuthzResolverBlImpl.getRichAdmins
(PerunSession sess, PerunBean complementaryObject, String role) Get all valid richUser administrators (for group-based rights, status must be VALID for both Vo and group) for complementary object and role without any attributes.AuthzResolverBlImpl.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.static boolean
AuthzResolverBlImpl.isAuthorized
(PerunSession sess, String role, PerunBean complementaryObject) Deprecated.static void
AuthzResolverBlImpl.setRole
(PerunSession sess, Group authorizedGroup, PerunBean complementaryObject, String role) Set role for authorizedGroup and one complementary object.static void
AuthzResolverBlImpl.setRole
(PerunSession sess, User user, PerunBean complementaryObject, String role) Set role for user and one complementary object.static boolean
AuthzResolverBlImpl.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).static void
AuthzResolverBlImpl.unsetRole
(PerunSession sess, Group authorizedGroup, PerunBean complementaryObject, String role) Unset role for group and one complementary objectstatic void
AuthzResolverBlImpl.unsetRole
(PerunSession sess, User user, PerunBean complementaryObject, String role) Unset role for user and one complementary object.Modifier and TypeMethodDescriptionstatic boolean
AuthzResolverBlImpl.authorized
(PerunSession sess, String policyDefinition, List<PerunBean> objects) Prepare necessary structures and resolve access rights for the session's principal.AttributesManagerBlImpl.getAttributesDefinitionWithRights
(PerunSession sess, List<PerunBean> entities) -
Uses of PerunBean in cz.metacentrum.perun.core.entry
Modifier and TypeMethodDescriptionAttributesManagerEntry.getAttributesDefinitionWithRights
(PerunSession sess, List<PerunBean> entities) -
Uses of PerunBean in cz.metacentrum.perun.core.impl
Modifier and TypeClassDescriptionprotected static class
AttributesManagerImpl.AttributeRowMapper<T extends PerunBean,
V extends PerunBean> protected static class
AttributesManagerImpl.AttributeRowMapper<T extends PerunBean,
V extends PerunBean> Modifier and TypeClassDescriptionclass
Ext source for CSV files.class
This extSource is just for use loading users from LDAP of EGI SSO Need to be concrete because special parsing of user certificates.class
Ext source implementation for Google Groups.class
Dummy ExtSource - IdP - Identity federationclass
Common ancestor of ExtSource implementations.class
This is a specific version of SQL extSource extension for SQL Complex.class
Dummy ExtSource - Internalclass
class
XML extSource for groups in IS MUclass
Implementation of ExtSource for IT4I SCS API.class
Ext source for JSON files.class
Dummy ExtSource - Kerberosclass
Ext source implementation for LDAP.class
ExtSource for synchronization from another Perun instanceclass
ExtSource class for REMS, filters subjects that does not have a corresponding user in Perun by ues REMS or by additionalueses in format: {extSourceName}|{extSourceClass}|{eppn}|0.class
class
Complex SQL extSource is extended SQL extSource with ability to get all subjects with all needed attributes by one query.class
Class ExtSource for TCS Synchronize certificates from defined address to Perun for existing users (skip not existing users)class
ExtSource implementation for Unity system.class
Dummy ExtSource - X.508class
Modifier and TypeMethodDescriptionboolean
void
AuthzRoles.putAuthzRole
(String role, PerunBean perunBean) protected void
AuthzRoles.putComplementaryObject
(String role, PerunBean perunBean) boolean
AttributesManagerImpl.setAttribute
(PerunSession sess, PerunBean bean1, PerunBean bean2, Attribute attribute) void
AuthzRole.setComplementaryObject
(PerunBean complementaryObject) Deprecated. -
Uses of PerunBean in cz.metacentrum.perun.core.implApi
Modifier and TypeMethodDescriptionboolean
AttributesManagerImplApi.setAttribute
(PerunSession sess, PerunBean bean1, PerunBean bean2, Attribute attribute) Store the particular attribute associated with the bean1 and bean2. -
Uses of PerunBean in cz.metacentrum.perun.core.implApi.modules.attributes
Modifier and TypeClassDescriptionclass
class
class
AbstractMembershipExpirationRulesModule<T extends PerunBean>
-
Uses of PerunBean in cz.metacentrum.perun.rpc.deserializer
Modifier and TypeMethodDescriptionDeserializer.readPerunBean
(String name) Reads value with the specified name asPerunBean
.JsonDeserializer.readPerunBean
(String name) Modifier and TypeMethodDescriptionDeserializer.readListPerunBeans
(String name) Reads array with the specified name asList<PerunBean>
.JsonDeserializer.readListPerunBeans
(String name) -
Uses of PerunBean in cz.metacentrum.perun.taskslib.model