Package | Description |
---|---|
info.magnolia.cms.exchange | |
info.magnolia.cms.security | |
info.magnolia.cms.security.auth.callback |
JAAS and Client callbacks
|
info.magnolia.cms.security.operations | |
info.magnolia.context | |
info.magnolia.jaas.sp | |
info.magnolia.jaas.sp.jcr | |
info.magnolia.voting.voters |
Modifier and Type | Method and Description |
---|---|
void |
Syndicator.init(User user,
String repositoryName,
String workspaceName,
Rule rule)
Deprecated.
since 4.5 use ioc instead
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractUser
Abstract user implementation.
|
class |
DummyUser
Deprecated.
since 4.3.6 - usage needs to be reviewed - see MAGNOLIA-3269
|
class |
ExternalUser
A user which is not stored in Magnolia.
|
class |
MgnlUser
A read-only snapshot of a Magnolia user as found in JCR at the moment of creation (e.g.
|
protected static class |
RescueSecuritySupport.RescueUser
TODO extract as top level class? Currently this class is tested implicitly by
RescueSecuritySupportTest . |
Modifier and Type | Method and Description |
---|---|
User |
MgnlUserManager.addGroup(User user,
String groupName) |
User |
DelegatingUserManager.addGroup(User user,
String groupName) |
User |
ExternalUserManager.addGroup(User user,
String groupName) |
User |
UserManager.addGroup(User user,
String groupName)
Adds user to a group.
|
User |
MgnlUserManager.addRole(User user,
String roleName) |
User |
DelegatingUserManager.addRole(User user,
String roleName) |
User |
ExternalUserManager.addRole(User user,
String roleName) |
User |
UserManager.addRole(User user,
String roleName)
Grants user role.
|
User |
MgnlUserManager.changePassword(User user,
String newPassword) |
User |
DelegatingUserManager.changePassword(User user,
String newPassword) |
User |
ExternalUserManager.changePassword(User user,
String newPassword) |
User |
UserManager.changePassword(User user,
String newPassword)
Sets a new password.
|
User |
MgnlUserManager.createUser(String name,
String pw) |
User |
DelegatingUserManager.createUser(String name,
String pw) |
User |
ExternalUserManager.createUser(String name,
String pw) |
User |
UserManager.createUser(String name,
String pw)
Creates a user without security restrictions.
|
User |
MgnlUserManager.createUser(String path,
String name,
String pw) |
User |
DelegatingUserManager.createUser(String path,
String name,
String pw) |
User |
ExternalUserManager.createUser(String path,
String name,
String pw) |
User |
UserManager.createUser(String path,
String name,
String pw)
Creates a user on given path.
|
User |
MgnlUserManager.getAnonymousUser()
SystemUserManager does this.
|
User |
DelegatingUserManager.getAnonymousUser() |
User |
ExternalUserManager.getAnonymousUser()
SystemUserManager does this.
|
User |
SystemUserManager.getAnonymousUser() |
User |
RescueSecuritySupport.RescueUserManager.getAnonymousUser() |
static User |
Security.getAnonymousUser()
Deprecated.
|
User |
UserManager.getAnonymousUser()
Get Anonymous user, this user must always exist in magnolia repository.
|
protected User |
MgnlUserManager.getFromRepository(String name) |
protected User |
SystemUserManager.getOrCreateUser(String userName,
String password) |
User |
MgnlUserManager.getSystemUser()
SystemUserManager does this.
|
User |
DelegatingUserManager.getSystemUser() |
User |
ExternalUserManager.getSystemUser()
SystemUserManager does this.
|
User |
SystemUserManager.getSystemUser() |
User |
RescueSecuritySupport.RescueUserManager.getSystemUser() |
static User |
Security.getSystemUser()
Deprecated.
|
User |
UserManager.getSystemUser()
Get system user, this user must always exist in magnolia repository.
|
User |
ExternalUserManager.getUser(Map<String,String> properties,
GroupList groupList,
RoleList roleList) |
User |
MgnlUserManager.getUser(String name)
Get the user object.
|
User |
DelegatingUserManager.getUser(String name) |
User |
ExternalUserManager.getUser(String name) |
User |
RescueSecuritySupport.RescueUserManager.getUser(String name) |
User |
UserManager.getUser(String name)
Find a specific user.
|
User |
MgnlUserManager.getUser(Subject subject) |
User |
DelegatingUserManager.getUser(Subject subject) |
User |
ExternalUserManager.getUser(Subject subject)
Initialize new user using JAAS authenticated/authorized subject.
|
User |
UserManager.getUser(Subject subject)
Deprecated.
since 5.3.3 jaas login module should just request the user, not pass the subject around to the user manager
|
User |
MgnlUserManager.getUserById(String id)
Get the user object.
|
User |
DelegatingUserManager.getUserById(String id) |
User |
ExternalUserManager.getUserById(String id) |
User |
UserManager.getUserById(String id)
Find a specific user.
|
protected User |
MgnlUserManager.newUserInstance(javax.jcr.Node privilegedUserNode) |
User |
MgnlUserManager.removeGroup(User user,
String groupName) |
User |
DelegatingUserManager.removeGroup(User user,
String groupName) |
User |
ExternalUserManager.removeGroup(User user,
String groupName) |
User |
UserManager.removeGroup(User user,
String groupName)
Removes user from a group.
|
User |
MgnlUserManager.removeRole(User user,
String roleName) |
User |
DelegatingUserManager.removeRole(User user,
String roleName) |
User |
ExternalUserManager.removeRole(User user,
String roleName) |
User |
UserManager.removeRole(User user,
String roleName)
Removes role from a user.
|
User |
MgnlUserManager.setProperty(User user,
String propertyName,
String propertyValue) |
User |
DelegatingUserManager.setProperty(User user,
String propertyName,
String propertyValue) |
User |
ExternalUserManager.setProperty(User user,
String propertyName,
String propertyValue) |
User |
UserManager.setProperty(User user,
String propertyName,
String propertyValue)
Sets given property for the user and returns updated user object with new value of the property.
|
User |
MgnlUserManager.setProperty(User user,
String propertyName,
javax.jcr.Value propertyValue) |
User |
DelegatingUserManager.setProperty(User user,
String propertyName,
javax.jcr.Value propertyValue) |
User |
ExternalUserManager.setProperty(User user,
String propertyName,
javax.jcr.Value propertyValue) |
User |
UserManager.setProperty(User user,
String propertyName,
javax.jcr.Value propertyValue)
Deprecated.
since 4.5.7 - use
UserManager.setProperty(User, String, String) |
Modifier and Type | Method and Description |
---|---|
Collection<User> |
MgnlUserManager.getAllUsers()
Get all users managed by this user manager.
|
Collection<User> |
DelegatingUserManager.getAllUsers() |
Collection<User> |
ExternalUserManager.getAllUsers() |
Collection<User> |
UserManager.getAllUsers()
Get all users.
|
Modifier and Type | Method and Description |
---|---|
User |
MgnlUserManager.addGroup(User user,
String groupName) |
User |
DelegatingUserManager.addGroup(User user,
String groupName) |
User |
ExternalUserManager.addGroup(User user,
String groupName) |
User |
UserManager.addGroup(User user,
String groupName)
Adds user to a group.
|
User |
MgnlUserManager.addRole(User user,
String roleName) |
User |
DelegatingUserManager.addRole(User user,
String roleName) |
User |
ExternalUserManager.addRole(User user,
String roleName) |
User |
UserManager.addRole(User user,
String roleName)
Grants user role.
|
User |
MgnlUserManager.changePassword(User user,
String newPassword) |
User |
DelegatingUserManager.changePassword(User user,
String newPassword) |
User |
ExternalUserManager.changePassword(User user,
String newPassword) |
User |
UserManager.changePassword(User user,
String newPassword)
Sets a new password.
|
static Subject |
PrincipalUtil.createSubject(User user) |
static Subject |
SecurityUtil.createSubjectAndPopulate(User user) |
Map<String,ACL> |
MgnlUserManager.getACLs(User user)
Sets access control list from a list of roles under the provided content object.
|
Map<String,ACL> |
DelegatingUserManager.getACLs(User user) |
Map<String,ACL> |
ExternalUserManager.getACLs(User user) |
Map<String,ACL> |
UserManager.getACLs(User user) |
User |
MgnlUserManager.removeGroup(User user,
String groupName) |
User |
DelegatingUserManager.removeGroup(User user,
String groupName) |
User |
ExternalUserManager.removeGroup(User user,
String groupName) |
User |
UserManager.removeGroup(User user,
String groupName)
Removes user from a group.
|
User |
MgnlUserManager.removeRole(User user,
String roleName) |
User |
DelegatingUserManager.removeRole(User user,
String roleName) |
User |
ExternalUserManager.removeRole(User user,
String roleName) |
User |
UserManager.removeRole(User user,
String roleName)
Removes role from a user.
|
User |
MgnlUserManager.setProperty(User user,
String propertyName,
String propertyValue) |
User |
DelegatingUserManager.setProperty(User user,
String propertyName,
String propertyValue) |
User |
ExternalUserManager.setProperty(User user,
String propertyName,
String propertyValue) |
User |
UserManager.setProperty(User user,
String propertyName,
String propertyValue)
Sets given property for the user and returns updated user object with new value of the property.
|
User |
MgnlUserManager.setProperty(User user,
String propertyName,
javax.jcr.Value propertyValue) |
User |
DelegatingUserManager.setProperty(User user,
String propertyName,
javax.jcr.Value propertyValue) |
User |
ExternalUserManager.setProperty(User user,
String propertyName,
javax.jcr.Value propertyValue) |
User |
UserManager.setProperty(User user,
String propertyName,
javax.jcr.Value propertyValue)
Deprecated.
since 4.5.7 - use
UserManager.setProperty(User, String, String) |
void |
MgnlUserManager.updateLastAccessTimestamp(User user) |
void |
DelegatingUserManager.updateLastAccessTimestamp(User user) |
void |
ExternalUserManager.updateLastAccessTimestamp(User user) |
void |
RescueSecuritySupport.RescueUserManager.updateLastAccessTimestamp(User user) |
void |
UserManager.updateLastAccessTimestamp(User user)
Updates last access timestamp for the user.
|
Modifier and Type | Method and Description |
---|---|
void |
MgnlUserManager.findAllUsersInFolder(javax.jcr.Node node,
Collection<User> addTo)
Finds all users located in the provided node or in sub-folders within it and adds them to the given collection.
|
Modifier and Type | Field and Description |
---|---|
protected User |
CredentialsCallbackHandler.user |
Modifier and Type | Method and Description |
---|---|
User |
UserCallback.getUser() |
User |
CredentialsCallbackHandler.getUser() |
Constructor and Description |
---|
UserCallback(User user) |
Modifier and Type | Method and Description |
---|---|
boolean |
ConfiguredOperationPermissionDefinition.canAdd(User user) |
boolean |
OperationPermissionDefinition.canAdd(User user) |
boolean |
ConfiguredOperationPermissionDefinition.canDelete(User user) |
boolean |
OperationPermissionDefinition.canDelete(User user) |
boolean |
ConfiguredOperationPermissionDefinition.canExecute(User user) |
boolean |
OperationPermissionDefinition.canExecute(User user) |
boolean |
ConfiguredOperationPermissionDefinition.canMove(User user) |
boolean |
OperationPermissionDefinition.canMove(User user) |
boolean |
ConfiguredOperationPermissionDefinition.canRead(User user) |
boolean |
OperationPermissionDefinition.canRead(User user) |
boolean |
ConfiguredOperationPermissionDefinition.canWrite(User user) |
boolean |
OperationPermissionDefinition.canWrite(User user) |
protected boolean |
ConfiguredOperationPermissionDefinition.hasAccess(AccessDefinition accessDefinition,
User user) |
boolean |
ConfiguredAccessDefinition.hasAccess(User user) |
boolean |
VoterBasedConfiguredAccessDefinition.hasAccess(User user) |
boolean |
AccessDefinition.hasAccess(User user) |
Modifier and Type | Method and Description |
---|---|
User |
HTMLEscapingWebContextWrapper.getUser() |
User |
UserContextImpl.getUser() |
User |
AbstractContext.getUser() |
User |
SimpleContext.getUser()
Delegate to the inner context.
|
User |
ContextDecorator.getUser()
Delegates call to the original context.
|
User |
Context.getUser()
If this is not a UserContext this method will very likely return the system user.
|
static User |
MgnlContext.getUser()
A short cut for the current user.
|
Modifier and Type | Method and Description |
---|---|
protected void |
UserContextImpl.setLocaleFor(User user) |
Modifier and Type | Method and Description |
---|---|
User |
UserAwareLoginModule.getUser() |
Modifier and Type | Field and Description |
---|---|
protected User |
JCRAuthenticationModule.user |
protected User |
MagnoliaAuthenticationModule.user
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
User |
JCRAuthenticationModule.getUser() |
User |
MagnoliaAuthenticationModule.getUser()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JCRAuthorizationModule.setACLForUser(PrincipalCollection principalList,
User user,
SecuritySupport securitySupport) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
RoleBaseVoter.boolVote(User user) |
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.