Class urn_perun_user_attribute_def_def_login_namespace_umbrellaid_persistent_shadow
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_umbrellaid_persistent_shadow
- All Implemented Interfaces:
AttributesModuleImplApi
,UserAttributesModuleImplApi
public class urn_perun_user_attribute_def_def_login_namespace_umbrellaid_persistent_shadow
extends urn_perun_user_attribute_def_def_login_namespace
Class for checking logins uniqueness in the namespace and filling umbrellaid-persistent id. It is only storage! Use
module login umbrellaid_persistent for access the value.
-
Field Summary
Fields inherited from class cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_user_attribute_def_def_login_namespace
generatedNamespaces
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
changedAttributeHook
(PerunSessionImpl session, User user, Attribute attribute) ChangedAttributeHook() sets UserExtSource with following properties: - extSourceType is IdP - extSourceName is {getExtSourceName()} - user's extSource login is the same as his persistent attributefillAttribute
(PerunSessionImpl perunSession, User user, AttributeDefinition attribute) fillAttribute will set value from umbrellaIDIdentifier attribute or generate a version 1 UUID if there is no value set for the attributeReturn attributes definition which is represented by the moduleGet domain name for the login.Methods inherited from class cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_user_attribute_def_def_login_namespace
checkAttributeSemantics, checkAttributeSyntax, sha1HashCount
Methods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.UserAttributesModuleAbstract
getAnonymizedValue
Methods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChange
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleImplApi
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChange
Methods inherited from interface cz.metacentrum.perun.core.implApi.modules.attributes.UserAttributesModuleImplApi
getAnonymizedValue
-
Constructor Details
-
urn_perun_user_attribute_def_def_login_namespace_umbrellaid_persistent_shadow
public urn_perun_user_attribute_def_def_login_namespace_umbrellaid_persistent_shadow()
-
-
Method Details
-
changedAttributeHook
ChangedAttributeHook() sets UserExtSource with following properties: - extSourceType is IdP - extSourceName is {getExtSourceName()} - user's extSource login is the same as his persistent attribute- Specified by:
changedAttributeHook
in interfaceUserAttributesModuleImplApi
- Overrides:
changedAttributeHook
in classUserAttributesModuleAbstract
- Parameters:
session
- sessionuser
- the userattribute
- the attribute
-
fillAttribute
public Attribute fillAttribute(PerunSessionImpl perunSession, User user, AttributeDefinition attribute) fillAttribute will set value from umbrellaIDIdentifier attribute or generate a version 1 UUID if there is no value set for the attribute- Specified by:
fillAttribute
in interfaceUserAttributesModuleImplApi
- Overrides:
fillAttribute
in classurn_perun_user_attribute_def_def_login_namespace
- Parameters:
perunSession
- PerunSessionuser
- User to fill attribute forattribute
- Attribute to fill value to- Returns:
- Filled attribute
-
getAttributeDefinition
Description copied from interface:AttributesModuleImplApi
Return attributes definition which is represented by the module- Specified by:
getAttributeDefinition
in interfaceAttributesModuleImplApi
- Overrides:
getAttributeDefinition
in classAttributesModuleAbstract
- Returns:
- attribute definition
-
getDomainName
Get domain name for the login.- Returns:
- domain name for the login
-