Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addFormFields(MCRLogin, String) - Static method in class org.mycore.user2.login.MCRLoginServlet
- addRole(String) - Static method in class org.mycore.user2.MCRUserCommands
-
Loads XML from a user and looks for roles currently not present in the system and creates them.
- addRole(MCRRole) - Static method in class org.mycore.user2.MCRRoleManager
-
Adds
role
to the classification system. - assignRole(String) - Method in class org.mycore.user2.MCRUser
-
Adds this user to the given role.
- assignUserToRole(String, String) - Static method in class org.mycore.user2.MCRUserCommands
-
This method adds a user as a member to a role
- attributes - Static variable in class org.mycore.user2.MCRUser_
- ATTRIBUTES - Static variable in class org.mycore.user2.MCRUser_
B
- batchLoadFromDirectory(String, String) - Static method in class org.mycore.user2.MCRUserCommands
- buildBasicXML(MCRUser) - Static method in class org.mycore.user2.utils.MCRUserTransformer
-
Builds an xml element containing basic information on user.
- buildExportableSafeXML(MCRUser) - Static method in class org.mycore.user2.utils.MCRUserTransformer
-
Builds an xml element containing all information on the given user except password info.
- buildExportableXML(MCRRole) - Static method in class org.mycore.user2.utils.MCRRoleTransformer
-
Builds an xml element containing all information on the given role.
- buildExportableXML(MCRUser) - Static method in class org.mycore.user2.utils.MCRUserTransformer
-
Builds an xml element containing all information on the given user.
- buildMCRRole(Element) - Static method in class org.mycore.user2.utils.MCRRoleTransformer
-
Builds an MCRRole instance from the given element.
- buildMCRUser(Element) - Static method in class org.mycore.user2.utils.MCRUserTransformer
-
Builds an MCRUser instance from the given element.
C
- changeToUser(String, String) - Static method in class org.mycore.user2.MCRUserCommands
-
This command changes the user of the session context to a new user.
- checkPassword(String, String) - Static method in class org.mycore.user2.MCRUserManager
-
Returns a
MCRUser
instance if the login succeeds. - checkUserName(String) - Static method in class org.mycore.user2.MCRUserServlet
-
Invoked by editor form user-editor.xed to check for a valid login user name.
- clone() - Method in class org.mycore.user2.MCRUser
- compareTo(MCRUserAttribute) - Method in class org.mycore.user2.MCRUserAttribute
- CONFIG_PREFIX - Static variable in class org.mycore.user2.MCRUser2Constants
-
MCRConfiguration2
prefix for all properties used by this MyCoRe component. - convert(String, String, Map<String, String>) - Method in class org.mycore.user2.utils.MCRDFNDisplayNameConverter
- convert(String, String, Map<String, String>) - Method in class org.mycore.user2.utils.MCRRolesConverter
- convert(String, String, Map<String, String>) - Method in class org.mycore.user2.utils.MCRUserNameConverter
- convert(ValueType, String, Map<String, String>) - Method in interface org.mycore.user2.MCRUserAttributeConverter
-
Convert a given value to the specified type.
- countUsers(String, String, String) - Static method in class org.mycore.user2.MCRUserManager
-
Deprecated.
- countUsers(String, String, String, String) - Static method in class org.mycore.user2.MCRUserManager
-
Counts users in the database that match the given criteria.
- countUsers(String, String, String, String, String) - Static method in class org.mycore.user2.MCRUserManager
-
Counts users in the database that match the given criteria.
- createUser(MCRTransientUser) - Static method in class org.mycore.user2.MCRUserManager
-
Creates and store a new login user in the database, do also attribute mapping is needed.
- createUser(MCRUser) - Static method in class org.mycore.user2.MCRUserManager
-
Creates and stores a new login user in the database.
- createUserFromFile(String) - Static method in class org.mycore.user2.MCRUserCommands
-
This method invokes MCRUserMgr.createUser() with data from a file.
- crypt - Enum constant in enum class org.mycore.user2.MCRPasswordHashType
D
- deleteRole(String) - Static method in class org.mycore.user2.MCRRoleManager
-
Deletes a role from the system.
- deleteRole(String) - Static method in class org.mycore.user2.MCRUserCommands
-
This method invokes
MCRRoleManager.deleteRole(String)
and permanently removes a role from the system. - deleteUser(String) - Static method in class org.mycore.user2.MCRUserCommands
-
This method invokes MCRUserMgr.deleteUser() and permanently removes a user from the system.
- deleteUser(String) - Static method in class org.mycore.user2.MCRUserManager
-
Deletes a user from the given database
- deleteUser(String, String) - Static method in class org.mycore.user2.MCRUserManager
-
Deletes a user from the given database
- deleteUser(String, MCRRealm) - Static method in class org.mycore.user2.MCRUserManager
-
Deletes a user from the given database
- deleteUser(MCRUser) - Static method in class org.mycore.user2.MCRUserManager
-
Deletes a user from the given database
- disabled - Static variable in class org.mycore.user2.MCRUser_
- DISABLED - Static variable in class org.mycore.user2.MCRUser_
- disableLogin() - Method in class org.mycore.user2.MCRUser
-
Disable login for this user.
- disableUser(String) - Static method in class org.mycore.user2.MCRUserCommands
-
This method invokes MCRUserMgr.disableUser() that disables a user
- doGetPost(MCRServletJob) - Method in class org.mycore.user2.login.MCRCASServlet
- doGetPost(MCRServletJob) - Method in class org.mycore.user2.login.MCRLoginServlet
-
MCRLoginServlet handles four actions: MCRLoginServlet?
- doGetPost(MCRServletJob) - Method in class org.mycore.user2.login.MCRShibbolethLoginServlet
- doGetPost(MCRServletJob) - Method in class org.mycore.user2.MCRUserServlet
-
Handles requests.
E
- E_MAIL - Static variable in class org.mycore.user2.MCRUser_
- EMail - Static variable in class org.mycore.user2.MCRUser_
- enableLogin() - Method in class org.mycore.user2.MCRUser
-
Enable login for this user.
- enableUser(String) - Static method in class org.mycore.user2.MCRUserCommands
-
This method invokes MCRUserMgr.enableUser() that enables a user
- encryptPasswordsInXMLFile(String, String) - Static method in class org.mycore.user2.MCRUserCommands
-
A given XML file containing user data with cleartext passwords must be converted prior to loading the user data into the system.
- equals(Object) - Method in class org.mycore.user2.MCRRealm
- equals(Object) - Method in class org.mycore.user2.MCRRole
- equals(Object) - Method in class org.mycore.user2.MCRUser
- equals(Object) - Method in class org.mycore.user2.MCRUserAttribute
- exists(String) - Static method in class org.mycore.user2.MCRUserManager
-
Checks if a user with the given login name exists in the default realm.
- exists(String, String) - Static method in class org.mycore.user2.MCRUserManager
-
Checks if a user with the given login name exists in the given realm.
- exists(String, MCRRealm) - Static method in class org.mycore.user2.MCRUserManager
-
Checks if a user with the given login name exists in the given realm.
- exportAllUserToDirectory(String) - Static method in class org.mycore.user2.MCRUserCommands
- exportRole(String, String) - Static method in class org.mycore.user2.MCRUserCommands
-
Exports a single role to the specified directory.
- exportUserToFile(String, String) - Static method in class org.mycore.user2.MCRUserCommands
-
This command takes a userID and file name as a parameter, retrieves the user from MCRUserMgr as JDOM document and export this to the given file.
G
- getAssignableGroupsForUser() - Static method in class org.mycore.user2.MCRRoleResolver
- getAttributeMapper(String) - Static method in class org.mycore.user2.MCRRealmFactory
- getAttributeNames() - Method in class org.mycore.user2.MCRUserAttributeMapper
-
Returns a collection of mapped attribute names.
- getAttributes() - Method in class org.mycore.user2.MCRUser
- getBasicCopy() - Method in class org.mycore.user2.MCRUser
-
Returns this MCRUser with basic information.
- getCreateURL() - Method in class org.mycore.user2.MCRRealm
- getCurrentUser() - Static method in class org.mycore.user2.MCRUserManager
-
Returns instance of MCRUser if current user is present in this user system
- getEMailAddress() - Method in class org.mycore.user2.MCRUser
-
Returns the E-Mail address of the person this login user represents.
- getErrorMessage() - Method in class org.mycore.user2.login.MCRLogin
- getExternalRole(String) - Static method in class org.mycore.user2.MCRRoleManager
-
Factory for external roles
- getExternalRoleIDs() - Method in class org.mycore.user2.MCRUser
-
Returns a collection any external role ID this user is member of.
- getHashType() - Method in class org.mycore.user2.MCRUser
- getHint() - Method in class org.mycore.user2.MCRUser
-
Returns a hint the user has stored in case of forgotten hash.
- getID() - Method in class org.mycore.user2.MCRRealm
-
Returns the unique ID of the realm.
- getLabel() - Method in class org.mycore.user2.MCRRealm
-
Returns the label in the current language
- getLabel() - Method in class org.mycore.user2.MCRRole
-
Returns the label in the current language.
- getLabels() - Method in class org.mycore.user2.MCRRole
-
Returns all labels available for this role.
- getLastLogin() - Method in class org.mycore.user2.MCRUser
-
Returns the last time the user has logged in.
- getLocalRealm() - Static method in class org.mycore.user2.MCRRealmFactory
-
Returns the local default realm, as specified by the attribute 'local' in realms.xml
- getLoginURL() - Method in class org.mycore.user2.MCRRealm
-
Returns the URL where users from this realm can login
- getLoginURL(String) - Method in class org.mycore.user2.MCRRealm
-
Returns the URL where users from this realm can login with redirect URL attached.
- getName() - Method in class org.mycore.user2.MCRRole
-
Returns the roles's name
- getName() - Method in class org.mycore.user2.MCRUserAttribute
- getOwner() - Method in class org.mycore.user2.MCRUser
-
Returns the user that owns this user, or null if the user is independent and has no owner.
- getPassword() - Method in class org.mycore.user2.MCRUser
- getPasswordChangeURL() - Method in class org.mycore.user2.MCRRealm
-
Returns the URL where users from this realm can change their password
- getRealm() - Method in class org.mycore.user2.login.MCRLogin
- getRealm() - Method in class org.mycore.user2.MCRUser
-
Returns the realm the user belongs to.
- getRealm(String) - Static method in class org.mycore.user2.MCRRealmFactory
-
Returns the realm with the given ID.
- getRealmID() - Method in class org.mycore.user2.MCRUser
-
Returns the ID of the realm the user belongs to.
- getRealmParameter() - Method in class org.mycore.user2.login.MCRLogin
- getRealmParameter() - Method in class org.mycore.user2.MCRRealm
- getRealmsDocument() - Static method in class org.mycore.user2.MCRRealmFactory
-
Returns the Realms JDOM document clone.
- getRealName() - Method in class org.mycore.user2.MCRUser
-
Returns the name of the person this login user represents.
- getReturnURL() - Method in class org.mycore.user2.login.MCRLogin
- getReturnURL(HttpServletRequest) - Static method in class org.mycore.user2.login.MCRLoginServlet
- getRole(String) - Static method in class org.mycore.user2.MCRRoleManager
-
Returns the role with the given role name, or null.
- getRoleRootId() - Static method in class org.mycore.user2.MCRUser2Constants
- getRoles(String...) - Static method in class org.mycore.user2.MCRRoleManager
-
Returns a role array for the given role names.
- getRoles(Collection<String>) - Static method in class org.mycore.user2.MCRRoleManager
-
Returns a role collection for the given role names.
- getSafeCopy() - Method in class org.mycore.user2.MCRUser
-
Returns this MCRUser with safe information.
- getSalt() - Method in class org.mycore.user2.MCRUser
- getSystemRoleIDs() - Method in class org.mycore.user2.MCRUser
-
Returns a collection any system role ID this user is member of.
- getUser(String) - Static method in class org.mycore.user2.MCRUserManager
-
Returns the user with the given userName, in the default realm
- getUser(String, String) - Static method in class org.mycore.user2.MCRUserManager
-
Returns the user with the given userName, in the given realm
- getUser(String, MCRRealm) - Static method in class org.mycore.user2.MCRUserManager
-
Returns the user with the given userName, in the given realm
- getUserAdminPermission() - Static method in class org.mycore.user2.MCRUser2Constants
- getUserAttribute(String) - Method in class org.mycore.user2.login.MCRShibbolethUserInformation
- getUserAttribute(String) - Method in class org.mycore.user2.MCRTransientUser
- getUserAttribute(String) - Method in class org.mycore.user2.MCRUser
-
Returns additional user attributes.
- getUserCreatePermission() - Static method in class org.mycore.user2.MCRUser2Constants
- getUserID() - Method in class org.mycore.user2.login.MCRShibbolethUserInformation
- getUserID() - Method in class org.mycore.user2.MCRUser
- getUserName() - Method in class org.mycore.user2.MCRUser
-
Returns the login user name.
- getUsers(String, String) - Static method in class org.mycore.user2.MCRUserManager
-
Returns a Stream of users where the user has a given attribute.
- getValidUntil() - Method in class org.mycore.user2.MCRUser
-
Returns a
Date
when this user can not login anymore. - getValue() - Method in class org.mycore.user2.MCRUserAttribute
H
- handleObjectCreated(MCREvent, MCRObject) - Method in class org.mycore.user2.events.MCRPersistTransientUserEventHandler
-
Persists
MCRTransientUser
if anMCRObject
was created. - HASH_TYPE - Static variable in class org.mycore.user2.MCRUser_
- hashCode() - Method in class org.mycore.user2.MCRRealm
- hashCode() - Method in class org.mycore.user2.MCRRole
- hashCode() - Method in class org.mycore.user2.MCRUser
- hashCode() - Method in class org.mycore.user2.MCRUserAttribute
- hashType - Static variable in class org.mycore.user2.MCRUser_
- hasNoOwner() - Method in class org.mycore.user2.MCRUser
-
Returns true if this user has no owner and therefore is independent.
- hint - Static variable in class org.mycore.user2.MCRUser_
- HINT - Static variable in class org.mycore.user2.MCRUser_
I
- importAllUsersFromDirectory(String) - Static method in class org.mycore.user2.MCRUserCommands
- importUserFromFile(String) - Static method in class org.mycore.user2.MCRUserCommands
-
This command takes a file name as a parameter, creates the MCRUser instances stores it in the database if it does not exists.
- init() - Method in class org.mycore.user2.login.MCRCASServlet
- init() - Method in class org.mycore.user2.login.MCRLoginServlet
- init() - Method in class org.mycore.user2.login.MCRServlet3LoginServlet
- init() - Method in class org.mycore.user2.MCRRoleServlet
- initSuperuser() - Static method in class org.mycore.user2.MCRUserCommands
-
This method initializes the user and role system an creates a superuser with values set in mycore.properties.private As 'super' default, if no properties were set, mcradmin with password mycore will be used.
- instance() - Static method in class org.mycore.user2.login.MCRLDAPClient
- instance(Element) - Static method in class org.mycore.user2.MCRUserAttributeMapper
- INTERNAL_ID - Static variable in class org.mycore.user2.MCRUser_
- internalID - Static variable in class org.mycore.user2.MCRUser_
- isDisabled() - Method in class org.mycore.user2.MCRUser
- isInvalidUser(MCRUser) - Static method in class org.mycore.user2.MCRUserManager
-
Checks whether the user is invalid.
- isLocked() - Method in class org.mycore.user2.MCRUser
- isLoginFailed() - Method in class org.mycore.user2.login.MCRLogin
- isSystemRole() - Method in class org.mycore.user2.MCRRole
-
Returns true if this role is a system role.
- isUserInRole(String) - Method in class org.mycore.user2.login.MCRShibbolethUserInformation
- isUserInRole(String) - Method in class org.mycore.user2.MCRUser
J
- JAXB_CONTEXT - Static variable in class org.mycore.user2.utils.MCRUserTransformer
L
- LAST_LOGIN - Static variable in class org.mycore.user2.MCRUser_
- lastLogin - Static variable in class org.mycore.user2.MCRUser_
- listAllRoles() - Static method in class org.mycore.user2.MCRUserCommands
-
This method invokes
MCRRoleManager.listSystemRoles()
and retrieves a list of all roles stored in the persistent datastore. - listAllUsers() - Static method in class org.mycore.user2.MCRUserCommands
-
This method invokes MCRUserMgr.getAllUserIDs() and retrieves a ArrayList of all users stored in the persistent datastore.
- listRealms() - Static method in class org.mycore.user2.MCRRealmFactory
-
Returns a list of all defined realms.
- listRole(String) - Static method in class org.mycore.user2.MCRUserCommands
-
This method invokes
MCRRoleManager.getRole(String)
and then works with the retrieved role object to get an XML-Representation. - listRole(MCRRole) - Static method in class org.mycore.user2.MCRUserCommands
- listSystemRoles() - Static method in class org.mycore.user2.MCRRoleManager
-
Returns a list of all defined roles
- listUser(String) - Static method in class org.mycore.user2.MCRUserCommands
-
This method invokes MCRUserMgr.retrieveUser() and then works with the retrieved user object to get an XML-Representation.
- listUser(MCRUser) - Static method in class org.mycore.user2.MCRUserCommands
- listUserIDs(MCRRole) - Static method in class org.mycore.user2.MCRRoleManager
-
Returns a collection of userIDs linked to the given
role
. - listUsers(String, String, String) - Static method in class org.mycore.user2.MCRUserManager
-
Deprecated.
- listUsers(String, String, String, String) - Static method in class org.mycore.user2.MCRUserManager
-
Searches for users in the database and returns a list of all matching users.
- listUsers(String, String, String, String, String, int, int) - Static method in class org.mycore.user2.MCRUserManager
-
Searches for users in the database and returns a list of matching users.
- listUsers(MCRUser) - Static method in class org.mycore.user2.MCRUserManager
-
Returns a list of all users the given user is owner of.
- LOCAL_LOGIN_SECURE_ONLY - Static variable in class org.mycore.user2.login.MCRLoginServlet
- locked - Static variable in class org.mycore.user2.MCRUser_
- LOCKED - Static variable in class org.mycore.user2.MCRUser_
- login(String) - Static method in class org.mycore.user2.MCRUserCommands
-
This command changes the user of the session context to a new user.
- login(String, String) - Static method in class org.mycore.user2.MCRUserManager
-
Checks the password of a login user in the default realm.
- login(String, String, List<String>) - Static method in class org.mycore.user2.MCRUserManager
-
Checks the password of a login user and if the user has at least one of the allowed roles in the default realm.
- loginAllowed() - Method in class org.mycore.user2.MCRUser
-
Returns true if logins are allowed for this user.
M
- main(String[]) - Static method in class org.mycore.user2.login.MCRLDAPClient
- mapAttributes(Object, Map<String, ?>) - Method in class org.mycore.user2.MCRUserAttributeMapper
-
Maps configured attributes to
Object
. - marshal(Date) - Method in class org.mycore.user2.utils.MCRDateXMLAdapter
- MCRCASServlet - Class in org.mycore.user2.login
-
Login user with JA-SIG Central Authentication Service (CAS).
- MCRCASServlet() - Constructor for class org.mycore.user2.login.MCRCASServlet
- MCRDateXMLAdapter - Class in org.mycore.user2.utils
- MCRDateXMLAdapter() - Constructor for class org.mycore.user2.utils.MCRDateXMLAdapter
- MCRDFNDisplayNameConverter - Class in org.mycore.user2.utils
- MCRDFNDisplayNameConverter() - Constructor for class org.mycore.user2.utils.MCRDFNDisplayNameConverter
- MCRLDAPClient - Class in org.mycore.user2.login
-
Queries an LDAP server for the user's properties
- MCRLogin - Class in org.mycore.user2.login
- MCRLogin() - Constructor for class org.mycore.user2.login.MCRLogin
- MCRLogin(MCRUserInformation, String, String) - Constructor for class org.mycore.user2.login.MCRLogin
- MCRLoginServlet - Class in org.mycore.user2.login
-
Provides functionality to select login method, change login user and show a welcome page.
- MCRLoginServlet() - Constructor for class org.mycore.user2.login.MCRLoginServlet
- MCRPasswordHashType - Enum Class in org.mycore.user2
-
This enum represents different hash type for user passwords.
- MCRPersistTransientUserEventHandler - Class in org.mycore.user2.events
- MCRPersistTransientUserEventHandler() - Constructor for class org.mycore.user2.events.MCRPersistTransientUserEventHandler
- MCRRealm - Class in org.mycore.user2
-
Represents a realm of users.
- MCRRealmFactory - Class in org.mycore.user2
-
Handles
MCRRealm
instantiation. - MCRRealmFactory() - Constructor for class org.mycore.user2.MCRRealmFactory
- MCRRealmResolver - Class in org.mycore.user2
-
Implements URIResolver for realms realm:{realmID} returns information about this realm realm:local returns information about the local realm realm:all returns all realms
- MCRRealmResolver() - Constructor for class org.mycore.user2.MCRRealmResolver
- MCRRole - Class in org.mycore.user2
-
Represents a role of users.
- MCRRole(String, Set<MCRLabel>) - Constructor for class org.mycore.user2.MCRRole
-
Creates a new role instance.
- MCRRoleManager - Class in org.mycore.user2
-
Manages roles and role assignments using a database table.
- MCRRoleManager() - Constructor for class org.mycore.user2.MCRRoleManager
- MCRRoleResolver - Class in org.mycore.user2
- MCRRoleResolver() - Constructor for class org.mycore.user2.MCRRoleResolver
- MCRRolesConverter - Class in org.mycore.user2.utils
- MCRRolesConverter() - Constructor for class org.mycore.user2.utils.MCRRolesConverter
- MCRRoleServlet - Class in org.mycore.user2
-
This servlet is used in the role sub select for when administrate a user.
- MCRRoleServlet() - Constructor for class org.mycore.user2.MCRRoleServlet
- MCRRoleTransformer - Class in org.mycore.user2.utils
- MCRRoleTransformer() - Constructor for class org.mycore.user2.utils.MCRRoleTransformer
- MCRServlet3LoginServlet - Class in org.mycore.user2.login
- MCRServlet3LoginServlet() - Constructor for class org.mycore.user2.login.MCRServlet3LoginServlet
- MCRShibbolethLoginServlet - Class in org.mycore.user2.login
- MCRShibbolethLoginServlet() - Constructor for class org.mycore.user2.login.MCRShibbolethLoginServlet
- MCRShibbolethUserInformation - Class in org.mycore.user2.login
- MCRShibbolethUserInformation(String, String, Map<String, Object>) - Constructor for class org.mycore.user2.login.MCRShibbolethUserInformation
- MCRTransientUser - Class in org.mycore.user2
- MCRTransientUser(MCRUserInformation) - Constructor for class org.mycore.user2.MCRTransientUser
- MCRUser - Class in org.mycore.user2
-
Represents a login user.
- MCRUser() - Constructor for class org.mycore.user2.MCRUser
- MCRUser(String) - Constructor for class org.mycore.user2.MCRUser
-
Creates a new user in the default realm.
- MCRUser(String, String) - Constructor for class org.mycore.user2.MCRUser
-
Creates a new user.
- MCRUser(String, MCRRealm) - Constructor for class org.mycore.user2.MCRUser
-
Creates a new user.
- MCRUser_ - Class in org.mycore.user2
- MCRUser_() - Constructor for class org.mycore.user2.MCRUser_
- MCRUser2Constants - Class in org.mycore.user2
- MCRUserAttribute - Class in org.mycore.user2
- MCRUserAttribute - Annotation Interface in org.mycore.user2.annotation
- MCRUserAttribute() - Constructor for class org.mycore.user2.MCRUserAttribute
- MCRUserAttribute(String, String) - Constructor for class org.mycore.user2.MCRUserAttribute
- MCRUserAttribute_ - Class in org.mycore.user2
- MCRUserAttribute_() - Constructor for class org.mycore.user2.MCRUserAttribute_
- MCRUserAttributeConverter<ValueType,
BoundType> - Interface in org.mycore.user2 - MCRUserAttributeJavaConverter - Annotation Interface in org.mycore.user2.annotation
- MCRUserAttributeMapper - Class in org.mycore.user2
-
This class is used to map attributes on
MCRUser
orMCRUserInformation
to annotated properties or methods. - MCRUserAttributeMapper() - Constructor for class org.mycore.user2.MCRUserAttributeMapper
- MCRUserCommands - Class in org.mycore.user2
-
This class provides a set of commands for the org.mycore.user2 management which can be used by the command line interface.
- MCRUserCommands() - Constructor for class org.mycore.user2.MCRUserCommands
- MCRUserManager - Class in org.mycore.user2
-
Manages all users using a database table.
- MCRUserManager() - Constructor for class org.mycore.user2.MCRUserManager
- MCRUserNameConverter - Class in org.mycore.user2.utils
- MCRUserNameConverter() - Constructor for class org.mycore.user2.utils.MCRUserNameConverter
- MCRUserResolver - Class in org.mycore.user2
-
Implements URIResolver for use in editor form user-editor.xml user:{userID} returns detailed user data including owned users and groups user:current returns detailed user data of the user currently logged in
- MCRUserResolver() - Constructor for class org.mycore.user2.MCRUserResolver
- MCRUserServlet - Class in org.mycore.user2
-
Provides functionality to search for users, list users, retrieve, delete or update user data.
- MCRUserServlet() - Constructor for class org.mycore.user2.MCRUserServlet
- MCRUserTransformer - Class in org.mycore.user2.utils
- md5 - Enum constant in enum class org.mycore.user2.MCRPasswordHashType
N
- name - Static variable in class org.mycore.user2.MCRUserAttribute_
- name() - Element in annotation interface org.mycore.user2.annotation.MCRUserAttribute
-
(Optional) The name of the attribute.
- NAME - Static variable in class org.mycore.user2.MCRUserAttribute_
- NATURAL_ORDER_COMPARATOR - Static variable in class org.mycore.user2.MCRUserAttribute
- nullable() - Element in annotation interface org.mycore.user2.annotation.MCRUserAttribute
-
(Optional) Allow a
null
value.
O
- org.mycore.user2 - package org.mycore.user2
-
new MyCoRe user system
- org.mycore.user2.annotation - package org.mycore.user2.annotation
- org.mycore.user2.events - package org.mycore.user2.events
- org.mycore.user2.login - package org.mycore.user2.login
-
Provides classes implementing login functionality
- org.mycore.user2.utils - package org.mycore.user2.utils
-
Provides classes not directly related to user and group management
- owner - Static variable in class org.mycore.user2.MCRUser_
- OWNER - Static variable in class org.mycore.user2.MCRUser_
P
- password - Static variable in class org.mycore.user2.MCRUser_
- PASSWORD - Static variable in class org.mycore.user2.MCRUser_
- presentLoginForm(MCRServletJob) - Method in class org.mycore.user2.login.MCRLoginServlet
R
- REAL_NAME - Static variable in class org.mycore.user2.MCRUser_
- REALM_ID - Static variable in class org.mycore.user2.MCRUser_
- REALM_URL_PARAMETER - Static variable in class org.mycore.user2.login.MCRLoginServlet
- realmID - Static variable in class org.mycore.user2.MCRUser_
- realName - Static variable in class org.mycore.user2.MCRUser_
- render(MCRServletJob, Exception) - Method in class org.mycore.user2.login.MCRServlet3LoginServlet
- render(MCRServletJob, Exception) - Method in class org.mycore.user2.MCRRoleServlet
- resolve(String, String) - Method in class org.mycore.user2.MCRRealmResolver
- resolve(String, String) - Method in class org.mycore.user2.MCRRoleResolver
- resolve(String, String) - Method in class org.mycore.user2.MCRUserResolver
- ROLE_ROOT_ID - Static variable in class org.mycore.user2.MCRUser2Constants
-
MCRCategoryID
root ID for system roles.
S
- salt - Static variable in class org.mycore.user2.MCRUser_
- SALT - Static variable in class org.mycore.user2.MCRUser_
- separator() - Element in annotation interface org.mycore.user2.annotation.MCRUserAttribute
-
(Optional) The attribute values separator.
- setAttributes(SortedSet<MCRUserAttribute>) - Method in class org.mycore.user2.MCRUser
- setDisabled(Boolean) - Method in class org.mycore.user2.MCRUser
- setEMail(String) - Method in class org.mycore.user2.MCRUser
-
Sets the E-Mail address of the person this user represents.
- setErrorMessage(String) - Method in class org.mycore.user2.login.MCRLogin
- setHashType(MCRPasswordHashType) - Method in class org.mycore.user2.MCRUser
- setHint(String) - Method in class org.mycore.user2.MCRUser
-
Sets a hint to store in case of hash loss.
- setLastLogin() - Method in class org.mycore.user2.MCRUser
-
Sets the time of last login to now.
- setLastLogin(Date) - Method in class org.mycore.user2.MCRUser
-
Sets the time of last login.
- setLocked(Boolean) - Method in class org.mycore.user2.MCRUser
- setLoginFailed(boolean) - Method in class org.mycore.user2.login.MCRLogin
- setName(String) - Method in class org.mycore.user2.MCRUserAttribute
- setOwner(MCRUser) - Method in class org.mycore.user2.MCRUser
-
Sets the user that owns this user.
- setPassword(String) - Method in class org.mycore.user2.MCRUser
- setPassword(String, String) - Static method in class org.mycore.user2.MCRUserCommands
-
This method invokes MCRUserMgr.retrieveUser() and then works with the retrieved user object to change the password.
- setPassword(MCRUser, String) - Static method in class org.mycore.user2.MCRUserManager
-
Sets password of 'user' to 'password'.
- setRealm(String) - Method in class org.mycore.user2.login.MCRLogin
- setRealmParameter(String) - Method in class org.mycore.user2.login.MCRLogin
- setRealmParameter(String) - Method in class org.mycore.user2.MCRRealm
- setRealName(String) - Method in class org.mycore.user2.MCRUser
-
Sets the name of the person this login user represents.
- setReturnURL(String) - Method in class org.mycore.user2.login.MCRLogin
- setSalt(String) - Method in class org.mycore.user2.MCRUser
- setUserAttribute(String, String) - Method in class org.mycore.user2.MCRUser
- setValidUntil(Date) - Method in class org.mycore.user2.MCRUser
-
Sets a
Date
when this user can not login anymore. - setValue(String) - Method in class org.mycore.user2.MCRUserAttribute
- sha1 - Enum constant in enum class org.mycore.user2.MCRPasswordHashType
- sha256 - Enum constant in enum class org.mycore.user2.MCRPasswordHashType
T
- think(MCRServletJob) - Method in class org.mycore.user2.login.MCRServlet3LoginServlet
- think(MCRServletJob) - Method in class org.mycore.user2.MCRRoleServlet
- toString() - Method in class org.mycore.user2.MCRRealm
- toString() - Method in class org.mycore.user2.MCRRole
U
- unassignRole(String) - Method in class org.mycore.user2.MCRUser
-
Removes this user from the given role.
- unassignUserFromRole(String, String) - Static method in class org.mycore.user2.MCRUserCommands
-
This method removes a member user from a role
- unmarshal(String) - Method in class org.mycore.user2.utils.MCRDateXMLAdapter
- updateAllUsersFromDirectory(String) - Static method in class org.mycore.user2.MCRUserCommands
- updateUser(MCRUser) - Static method in class org.mycore.user2.MCRUserManager
-
Updates an existing login user in the database.
- updateUserFromFile(String) - Static method in class org.mycore.user2.MCRUserCommands
-
This method invokes MCRUserMgr.updateUser() with data from a file.
- updateUserProperties(MCRUser) - Method in class org.mycore.user2.login.MCRLDAPClient
- USER_INFORMATION_ATTR - Static variable in class org.mycore.user2.MCRRealm
- USER_NAME - Static variable in class org.mycore.user2.MCRUser_
- userName - Static variable in class org.mycore.user2.MCRUser_
V
- VALID_UNTIL - Static variable in class org.mycore.user2.MCRUser_
- validUntil - Static variable in class org.mycore.user2.MCRUser_
- value - Static variable in class org.mycore.user2.MCRUserAttribute_
- value() - Element in annotation interface org.mycore.user2.annotation.MCRUserAttributeJavaConverter
-
Points to the class that converts a value type to a bound type or vice versa.
- VALUE - Static variable in class org.mycore.user2.MCRUserAttribute_
- valueOf(String) - Static method in enum class org.mycore.user2.MCRPasswordHashType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.mycore.user2.MCRPasswordHashType
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
MCRUserManager.countUsers(String, String, String, String)
instead.