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 |
UserManager.addGroup(User user,
String groupName)
Adds user to a group.
|
User |
MgnlUserManager.addGroup(User user,
String groupName) |
User |
ExternalUserManager.addGroup(User user,
String groupName) |
User |
DelegatingUserManager.addGroup(User user,
String groupName) |
User |
UserManager.addRole(User user,
String roleName)
Grants user role.
|
User |
MgnlUserManager.addRole(User user,
String roleName) |
User |
ExternalUserManager.addRole(User user,
String roleName) |
User |
DelegatingUserManager.addRole(User user,
String roleName) |
User |
UserManager.changePassword(User user,
String newPassword)
Sets a new password.
|
User |
MgnlUserManager.changePassword(User user,
String newPassword) |
User |
ExternalUserManager.changePassword(User user,
String newPassword) |
User |
DelegatingUserManager.changePassword(User user,
String newPassword) |
User |
UserManager.createUser(String name,
String pw)
Creates a user without security restrictions.
|
User |
MgnlUserManager.createUser(String name,
String pw) |
User |
ExternalUserManager.createUser(String name,
String pw) |
User |
DelegatingUserManager.createUser(String name,
String pw) |
User |
UserManager.createUser(String path,
String name,
String pw)
Creates a user on given path.
|
User |
MgnlUserManager.createUser(String path,
String name,
String pw) |
User |
ExternalUserManager.createUser(String path,
String name,
String pw) |
User |
DelegatingUserManager.createUser(String path,
String name,
String pw) |
User |
UserManager.getAnonymousUser()
Get Anonymous user, this user must always exist in magnolia repository.
|
User |
SystemUserManager.getAnonymousUser() |
static User |
Security.getAnonymousUser()
Deprecated.
|
User |
RescueSecuritySupport.RescueUserManager.getAnonymousUser() |
User |
MgnlUserManager.getAnonymousUser()
SystemUserManager does this.
|
User |
ExternalUserManager.getAnonymousUser()
SystemUserManager does this.
|
User |
DelegatingUserManager.getAnonymousUser() |
protected User |
MgnlUserManager.getFromRepository(String name) |
protected User |
SystemUserManager.getOrCreateUser(String userName,
String password) |
User |
UserManager.getSystemUser()
Get system user, this user must always exist in magnolia repository.
|
User |
SystemUserManager.getSystemUser() |
static User |
Security.getSystemUser()
Deprecated.
|
User |
RescueSecuritySupport.RescueUserManager.getSystemUser() |
User |
MgnlUserManager.getSystemUser()
SystemUserManager does this.
|
User |
ExternalUserManager.getSystemUser()
SystemUserManager does this.
|
User |
DelegatingUserManager.getSystemUser() |
User |
ExternalUserManager.getUser(Map<String,String> properties,
GroupList groupList,
RoleList roleList) |
User |
UserManager.getUser(String name)
Find a specific user.
|
User |
RescueSecuritySupport.RescueUserManager.getUser(String name) |
User |
MgnlUserManager.getUser(String name)
Get the user object.
|
User |
ExternalUserManager.getUser(String name) |
User |
DelegatingUserManager.getUser(String name) |
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.getUser(Subject subject) |
User |
ExternalUserManager.getUser(Subject subject)
Initialize new user using JAAS authenticated/authorized subject.
|
User |
DelegatingUserManager.getUser(Subject subject) |
User |
UserManager.getUserById(String id)
Find a specific user.
|
User |
MgnlUserManager.getUserById(String id)
Get the user object.
|
User |
ExternalUserManager.getUserById(String id) |
User |
DelegatingUserManager.getUserById(String id) |
protected User |
MgnlUserManager.newUserInstance(javax.jcr.Node privilegedUserNode) |
User |
UserManager.removeGroup(User user,
String groupName)
Removes user from a group.
|
User |
MgnlUserManager.removeGroup(User user,
String groupName) |
User |
ExternalUserManager.removeGroup(User user,
String groupName) |
User |
DelegatingUserManager.removeGroup(User user,
String groupName) |
User |
UserManager.removeRole(User user,
String roleName)
Removes role from a user.
|
User |
MgnlUserManager.removeRole(User user,
String roleName) |
User |
ExternalUserManager.removeRole(User user,
String roleName) |
User |
DelegatingUserManager.removeRole(User user,
String roleName) |
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,
String propertyValue) |
User |
ExternalUserManager.setProperty(User user,
String propertyName,
String propertyValue) |
User |
DelegatingUserManager.setProperty(User user,
String propertyName,
String propertyValue) |
User |
UserManager.setProperty(User user,
String propertyName,
javax.jcr.Value propertyValue)
Deprecated.
since 4.5.7 - use
UserManager.setProperty(User, String, String) |
User |
MgnlUserManager.setProperty(User user,
String propertyName,
javax.jcr.Value propertyValue) |
User |
ExternalUserManager.setProperty(User user,
String propertyName,
javax.jcr.Value propertyValue) |
User |
DelegatingUserManager.setProperty(User user,
String propertyName,
javax.jcr.Value propertyValue) |
Modifier and Type | Method and Description |
---|---|
Collection<User> |
UserManager.getAllUsers()
Get all users.
|
Collection<User> |
MgnlUserManager.getAllUsers()
Get all users managed by this user manager.
|
Collection<User> |
ExternalUserManager.getAllUsers() |
Collection<User> |
DelegatingUserManager.getAllUsers() |
Modifier and Type | Method and Description |
---|---|
User |
UserManager.addGroup(User user,
String groupName)
Adds user to a group.
|
User |
MgnlUserManager.addGroup(User user,
String groupName) |
User |
ExternalUserManager.addGroup(User user,
String groupName) |
User |
DelegatingUserManager.addGroup(User user,
String groupName) |
User |
UserManager.addRole(User user,
String roleName)
Grants user role.
|
User |
MgnlUserManager.addRole(User user,
String roleName) |
User |
ExternalUserManager.addRole(User user,
String roleName) |
User |
DelegatingUserManager.addRole(User user,
String roleName) |
User |
UserManager.changePassword(User user,
String newPassword)
Sets a new password.
|
User |
MgnlUserManager.changePassword(User user,
String newPassword) |
User |
ExternalUserManager.changePassword(User user,
String newPassword) |
User |
DelegatingUserManager.changePassword(User user,
String newPassword) |
static Subject |
PrincipalUtil.createSubject(User user) |
static Subject |
SecurityUtil.createSubjectAndPopulate(User user) |
Map<String,ACL> |
UserManager.getACLs(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> |
ExternalUserManager.getACLs(User user) |
Map<String,ACL> |
DelegatingUserManager.getACLs(User user) |
User |
UserManager.removeGroup(User user,
String groupName)
Removes user from a group.
|
User |
MgnlUserManager.removeGroup(User user,
String groupName) |
User |
ExternalUserManager.removeGroup(User user,
String groupName) |
User |
DelegatingUserManager.removeGroup(User user,
String groupName) |
User |
UserManager.removeRole(User user,
String roleName)
Removes role from a user.
|
User |
MgnlUserManager.removeRole(User user,
String roleName) |
User |
ExternalUserManager.removeRole(User user,
String roleName) |
User |
DelegatingUserManager.removeRole(User user,
String roleName) |
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,
String propertyValue) |
User |
ExternalUserManager.setProperty(User user,
String propertyName,
String propertyValue) |
User |
DelegatingUserManager.setProperty(User user,
String propertyName,
String propertyValue) |
User |
UserManager.setProperty(User user,
String propertyName,
javax.jcr.Value propertyValue)
Deprecated.
since 4.5.7 - use
UserManager.setProperty(User, String, String) |
User |
MgnlUserManager.setProperty(User user,
String propertyName,
javax.jcr.Value propertyValue) |
User |
ExternalUserManager.setProperty(User user,
String propertyName,
javax.jcr.Value propertyValue) |
User |
DelegatingUserManager.setProperty(User user,
String propertyName,
javax.jcr.Value propertyValue) |
void |
UserManager.updateLastAccessTimestamp(User user)
Updates last access timestamp for the user.
|
void |
RescueSecuritySupport.RescueUserManager.updateLastAccessTimestamp(User user) |
void |
MgnlUserManager.updateLastAccessTimestamp(User user) |
void |
ExternalUserManager.updateLastAccessTimestamp(User user) |
void |
DelegatingUserManager.updateLastAccessTimestamp(User 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 |
OperationPermissionDefinition.canAdd(User user) |
boolean |
ConfiguredOperationPermissionDefinition.canAdd(User user) |
boolean |
OperationPermissionDefinition.canDelete(User user) |
boolean |
ConfiguredOperationPermissionDefinition.canDelete(User user) |
boolean |
OperationPermissionDefinition.canExecute(User user) |
boolean |
ConfiguredOperationPermissionDefinition.canExecute(User user) |
boolean |
OperationPermissionDefinition.canMove(User user) |
boolean |
ConfiguredOperationPermissionDefinition.canMove(User user) |
boolean |
OperationPermissionDefinition.canRead(User user) |
boolean |
ConfiguredOperationPermissionDefinition.canRead(User user) |
boolean |
OperationPermissionDefinition.canWrite(User user) |
boolean |
ConfiguredOperationPermissionDefinition.canWrite(User user) |
protected boolean |
ConfiguredOperationPermissionDefinition.hasAccess(AccessDefinition accessDefinition,
User user) |
boolean |
VoterBasedConfiguredAccessDefinition.hasAccess(User user) |
boolean |
ConfiguredAccessDefinition.hasAccess(User user) |
boolean |
AccessDefinition.hasAccess(User user) |
Modifier and Type | Method and Description |
---|---|
User |
UserContextImpl.getUser() |
User |
SimpleContext.getUser()
Delegate to the inner context.
|
static User |
MgnlContext.getUser()
A short cut for the current user.
|
User |
HTMLEscapingWebContextWrapper.getUser() |
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.
|
User |
AbstractContext.getUser() |
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 |
MagnoliaAuthenticationModule.user
Deprecated.
|
protected User |
JCRAuthenticationModule.user |
Modifier and Type | Method and Description |
---|---|
User |
MagnoliaAuthenticationModule.getUser()
Deprecated.
|
User |
JCRAuthenticationModule.getUser() |
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–2017 Magnolia International Ltd.. All rights reserved.