Class urn_perun_user_attribute_def_def_login_namespace_erasmus_username
java.lang.Object
cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.UserAttributesModuleAbstract
cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_user_attribute_def_def_login_namespace
cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_user_attribute_def_def_login_namespace_erasmus_username
- All Implemented Interfaces:
AttributesModuleImplApi, UserAttributesModuleImplApi
@Deprecated
public class urn_perun_user_attribute_def_def_login_namespace_erasmus_username
extends urn_perun_user_attribute_def_def_login_namespace
Deprecated.
Module used to generate login value based on users name.
Has virtual counterpart to trigger value generation also on reading.
DEPRECATED - login was supposed to be used as EPPN on MyAcademicID instance, but that is no longer needed.
-
Field Summary
Fields inherited from class urn_perun_user_attribute_def_def_login_namespace
generatedNamespaces -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionfillAttribute(PerunSessionImpl perunSession, User user, AttributeDefinition attribute) Deprecated.Filling implemented for: - namespaces configured in /etc/perun/perun.properties as property: "perun.loginNamespace.generated"Deprecated.Return attributes definition which is represented by the moduleMethods inherited from class urn_perun_user_attribute_def_def_login_namespace
checkAttributeSemantics, checkAttributeSyntax, sha1HashCountMethods inherited from class UserAttributesModuleAbstract
changedAttributeHook, deletedEntityHook, getAnonymizedValueMethods inherited from class AttributesModuleAbstract
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AttributesModuleImplApi
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods inherited from interface UserAttributesModuleImplApi
changedAttributeHook, deletedEntityHook, getAnonymizedValue
-
Constructor Details
-
urn_perun_user_attribute_def_def_login_namespace_erasmus_username
public urn_perun_user_attribute_def_def_login_namespace_erasmus_username()Deprecated.
-
-
Method Details
-
fillAttribute
public Attribute fillAttribute(PerunSessionImpl perunSession, User user, AttributeDefinition attribute) throws WrongAttributeAssignmentException Deprecated.Filling implemented for: - namespaces configured in /etc/perun/perun.properties as property: "perun.loginNamespace.generated"Resulting format/rules: - "firstName-lastName[number]" where number is opt and start with 1 when same login is already present.
- Specified by:
fillAttributein interfaceUserAttributesModuleImplApi- Overrides:
fillAttributein classurn_perun_user_attribute_def_def_login_namespace- Parameters:
perunSession- PerunSessionuser- User to fill attribute forattribute- Attribute to fill value to- Returns:
- Filled attribute
- Throws:
WrongAttributeAssignmentException
-
getAttributeDefinition
Deprecated.Description copied from interface:AttributesModuleImplApiReturn attributes definition which is represented by the module- Specified by:
getAttributeDefinitionin interfaceAttributesModuleImplApi- Overrides:
getAttributeDefinitionin classAttributesModuleAbstract- Returns:
- attribute definition
-