A B C D E F G H I J L P Q R S T U V

A

ActiveDirectoryRealm - Class in com.terracotta.management.security.shiro.realm
A Realm that authenticates with an active directory LDAP server to determine the roles for a particular user.
ActiveDirectoryRealm() - Constructor for class com.terracotta.management.security.shiro.realm.ActiveDirectoryRealm
 

B

buildAuthorizationInfo(Set<String>) - Method in class com.terracotta.management.security.shiro.realm.LdapRealm
 
byName(String) - Static method in enum com.terracotta.management.user.UserRole
A convenience method for getting a UserRole by its role name.

C

CN - Static variable in class com.terracotta.management.security.shiro.realm.ActiveDirectoryRealm
 
com.terracotta.management.dao - package com.terracotta.management.dao
 
com.terracotta.management.security - package com.terracotta.management.security
 
com.terracotta.management.security.shiro - package com.terracotta.management.security.shiro
 
com.terracotta.management.security.shiro.realm - package com.terracotta.management.security.shiro.realm
 
com.terracotta.management.user - package com.terracotta.management.user
 
com.terracotta.management.user.dao - package com.terracotta.management.user.dao
 
com.terracotta.management.user.dao.impl - package com.terracotta.management.user.dao.impl
 
com.terracotta.management.user.impl - package com.terracotta.management.user.impl
 
computeFormattedHash(String) - Method in interface com.terracotta.management.security.PasswordHashService
Compute an encoded hash for the submitted password
computeFormattedHash(String) - Method in class com.terracotta.management.security.shiro.Shiro1FormattingHashService
Compute an encoded hash for the submitted password
convertRoleNames(Collection<String>) - Static method in enum com.terracotta.management.user.UserRole
A convenience method for converting a collection of role names to a Set of UserRole enums.
convertRoles(Collection<UserRole>) - Static method in enum com.terracotta.management.user.UserRole
A convenience method for converting a collection of UserRoles to a Set of role names.
create(T) - Method in interface com.terracotta.management.dao.GenericDao
Create the submitted obj.
create(UserInfo) - Method in class com.terracotta.management.user.dao.impl.IniFileUserInfoDao
Create the submitted obj.
createOrUpdate(T) - Method in interface com.terracotta.management.dao.GenericDao
Create or update the submitted obj.
createOrUpdate(UserInfo) - Method in class com.terracotta.management.user.dao.impl.IniFileUserInfoDao
Create or update the submitted obj.
createUser(String, String, UserRole...) - Method in class com.terracotta.management.user.impl.DfltUserInfoFactory
 
createUser(String, String, UserRole...) - Method in interface com.terracotta.management.user.UserInfoFactory
 

D

DataAccessException - Exception in com.terracotta.management.dao
A general exception for data access problems.
DataAccessException() - Constructor for exception com.terracotta.management.dao.DataAccessException
 
DataAccessException(String) - Constructor for exception com.terracotta.management.dao.DataAccessException
 
DataAccessException(String, Throwable) - Constructor for exception com.terracotta.management.dao.DataAccessException
 
DataAccessException(Throwable) - Constructor for exception com.terracotta.management.dao.DataAccessException
 
DatastoreNotFoundException - Exception in com.terracotta.management.user.dao
An exception to indicate the the underlying data store could not be verified.
DatastoreNotFoundException() - Constructor for exception com.terracotta.management.user.dao.DatastoreNotFoundException
 
DatastoreNotFoundException(String) - Constructor for exception com.terracotta.management.user.dao.DatastoreNotFoundException
 
DatastoreNotFoundException(String, Throwable) - Constructor for exception com.terracotta.management.user.dao.DatastoreNotFoundException
 
DatastoreNotFoundException(Throwable) - Constructor for exception com.terracotta.management.user.dao.DatastoreNotFoundException
 
delete(T) - Method in interface com.terracotta.management.dao.GenericDao
Deletes the submitted obj
delete(UserInfo) - Method in class com.terracotta.management.user.dao.impl.IniFileUserInfoDao
Deletes the submitted obj
DFLT_INI_FILE_LOCATION - Static variable in class com.terracotta.management.security.shiro.ShiroIniFileConstants
A constant for the default ini file location.
DfltUserInfo - Class in com.terracotta.management.user.impl
The default implementation of the UserInfo model interface.
DfltUserInfo(String, String, Set<UserRole>) - Constructor for class com.terracotta.management.user.impl.DfltUserInfo
 
DfltUserInfoFactory - Class in com.terracotta.management.user.impl
The default implementation for UserInfo creation.
DfltUserInfoFactory() - Constructor for class com.terracotta.management.user.impl.DfltUserInfoFactory
 
DfltUserInfoFactory(PasswordHashService) - Constructor for class com.terracotta.management.user.impl.DfltUserInfoFactory
 

E

equals(Object) - Method in class com.terracotta.management.user.impl.DfltUserInfo
 
evict(T) - Method in interface com.terracotta.management.dao.GenericDao
Evicts the obj from persistent cache.
evict(UserInfo) - Method in class com.terracotta.management.user.dao.impl.IniFileUserInfoDao
Evicts the obj from persistent cache.

F

flush() - Method in interface com.terracotta.management.dao.GenericDao
Synchronizes persistence layer's state with the datastore.
flush() - Method in class com.terracotta.management.user.dao.impl.IniFileUserInfoDao
Synchronizes persistence layer's state with the datastore.

G

GenericDao<T,ID extends Serializable> - Interface in com.terracotta.management.dao
A generic dao interface for crud operations on model objects in the management application.
getById(ID) - Method in interface com.terracotta.management.dao.GenericDao
Returns the obj T with the given id, or null if there is no such entity.
getById(String) - Method in class com.terracotta.management.user.dao.impl.IniFileUserInfoDao
Returns the obj T with the given id, or null if there is no such entity.
getGroupDnTemplate() - Method in class com.terracotta.management.security.shiro.realm.LdapRealm
 
getPasswordHash() - Method in class com.terracotta.management.user.impl.DfltUserInfo
Gets the stringified representation of this user's hashed password.
getPasswordHash() - Method in interface com.terracotta.management.user.UserInfo
Gets the stringified representation of this user's hashed password.
getRoleNamesForGroups(Collection<String>) - Method in class com.terracotta.management.security.shiro.realm.ActiveDirectoryRealm
This method is called by the default implementation to translate Active Directory group names to role names.
getRoleNamesForGroups(Collection<String>) - Method in class com.terracotta.management.security.shiro.realm.LdapRealm
 
getRoleNamesForUser(String, LdapContext) - Method in class com.terracotta.management.security.shiro.realm.ActiveDirectoryRealm
 
getRoleNamesForUser(String, LdapContext) - Method in class com.terracotta.management.security.shiro.realm.LdapRealm
 
getRoles() - Method in class com.terracotta.management.user.impl.DfltUserInfo
Gets the set of roles associated with this user.
getRoles() - Method in interface com.terracotta.management.user.UserInfo
Gets the set of roles associated with this user.
getSimpleSystemUsername() - Method in class com.terracotta.management.security.shiro.realm.TCJndiLdapContextFactory
 
getUsername() - Method in class com.terracotta.management.user.impl.DfltUserInfo
Gets the primary principal associated with this user.
getUsername() - Method in interface com.terracotta.management.user.UserInfo
Gets the primary principal associated with this user.
groupRolesMap - Variable in class com.terracotta.management.security.shiro.realm.LdapRealm
the map contains the groups, each set contains the roles for the group : Map> groupRolesMap = new HashMap>(); Set dudesRoles = new HashSet(); dudesRoles.add("admin"); groupRolesMap.put("dudes", dudesRoles); Set guysRoles = new HashSet(); guysRoles.add("admin"); guysRoles.add("operator"); groupRolesMap.put("guys", guysRoles);

H

hashCode() - Method in class com.terracotta.management.user.impl.DfltUserInfo
 
hasUserInfos() - Method in class com.terracotta.management.user.dao.impl.IniFileUserInfoDao
Determines whether or not UserInfo objects are currently available.
hasUserInfos() - Method in interface com.terracotta.management.user.dao.UserInfoDao
Determines whether or not UserInfo objects are currently available.

I

IniFileUserInfoDao - Class in com.terracotta.management.user.dao.impl
An implementation of UserInfoDao that uses a file in the Shiro Ini format as a datastore.
IniFileUserInfoDao() - Constructor for class com.terracotta.management.user.dao.impl.IniFileUserInfoDao
 
IniFileUserInfoDao(File) - Constructor for class com.terracotta.management.user.dao.impl.IniFileUserInfoDao
A constructor that allows the ini file location used to be explicitly set.
IniFileUserInfoDao(File, boolean) - Constructor for class com.terracotta.management.user.dao.impl.IniFileUserInfoDao
A constructor that allows the ini file location used to be explicitly set.

J

JVM_INI_LOCATION_PROP - Static variable in class com.terracotta.management.security.shiro.ShiroIniFileConstants
A constant for the jvm ini file location property.

L

LdapRealm - Class in com.terracotta.management.security.shiro.realm
 
LdapRealm() - Constructor for class com.terracotta.management.security.shiro.realm.LdapRealm
 

P

PasswordHashService - Interface in com.terracotta.management.security
An interface for password hashing services.

Q

queryForAuthorizationInfo(PrincipalCollection, LdapContextFactory) - Method in class com.terracotta.management.security.shiro.realm.LdapRealm
Builds an AuthorizationInfo object by querying the active directory LDAP context for the groups that a user is a member of.

R

ROLE_NAMES_DELIMETER - Static variable in class com.terracotta.management.security.shiro.realm.LdapRealm
 

S

searchBase - Variable in class com.terracotta.management.security.shiro.realm.LdapRealm
 
setDynamicGroupConfiguration(boolean) - Method in class com.terracotta.management.security.shiro.realm.LdapRealm
 
setGroupAttributeMatching(String) - Method in class com.terracotta.management.security.shiro.realm.LdapRealm
 
setGroupDnTemplate(String) - Method in class com.terracotta.management.security.shiro.realm.LdapRealm
 
setGroupRolesMap(Map<String, Set<String>>) - Method in class com.terracotta.management.security.shiro.realm.LdapRealm
 
setGroupRolesMapAsString(Map<String, String>) - Method in class com.terracotta.management.security.shiro.realm.LdapRealm
 
setSearchBase(String) - Method in class com.terracotta.management.security.shiro.realm.LdapRealm
 
setSimpleSystemUsername(String) - Method in class com.terracotta.management.security.shiro.realm.TCJndiLdapContextFactory
 
setSystemUsername(String) - Method in class com.terracotta.management.security.shiro.realm.ActiveDirectoryRealm
This method is here because we use the com.terracotta.management.security.shiro.realm.TCJndiLdapContextFactory for the LdapRealm, and it always read the systemUserName from the ContextFactory
setSystemUsername(String) - Method in class com.terracotta.management.security.shiro.realm.LdapRealm
This method replaces calls to TCJndiLdapContextFactory.setSystemUsername to allow the user to configure the LdapContext leveraging the userDnTemplate; ie : ludovic instead of uid=ludovic,ou=users,dc=mycompany,dc=com
Shiro1FormattingHashService - Class in com.terracotta.management.security.shiro
A PasswordHashService that uses SHA-1 with 1,000,000 iterations and a 16 byte salt for hashing passwords.
Shiro1FormattingHashService() - Constructor for class com.terracotta.management.security.shiro.Shiro1FormattingHashService
 
ShiroIniFileConstants - Class in com.terracotta.management.security.shiro
An uninstantiable class for holding shiro ini file constants for this domain.

T

TCJndiLdapContextFactory - Class in com.terracotta.management.security.shiro.realm
 
TCJndiLdapContextFactory() - Constructor for class com.terracotta.management.security.shiro.realm.TCJndiLdapContextFactory
 
toString() - Method in class com.terracotta.management.user.impl.DfltUserInfo
 
toString() - Method in enum com.terracotta.management.user.UserRole
 
truncate() - Method in class com.terracotta.management.user.dao.impl.IniFileUserInfoDao
 
truncate() - Method in interface com.terracotta.management.user.dao.UserInfoDao
Truncates the datastore.

U

UserInfo - Interface in com.terracotta.management.user
An interface for information that defines users of the management application.
UserInfoDao - Interface in com.terracotta.management.user.dao
An interface for the persistence of UserInfo model objects.
UserInfoFactory - Interface in com.terracotta.management.user
A factory interface for UserInfo instantiation.
UserRole - Enum in com.terracotta.management.user
An enumeration describing what are currently implicitly defined user roles for the application.

V

validate(boolean) - Method in class com.terracotta.management.user.dao.impl.IniFileUserInfoDao
Validates the underlying datastore.
validate(boolean) - Method in interface com.terracotta.management.user.dao.UserInfoDao
Validates the underlying datastore.
valueOf(String) - Static method in enum com.terracotta.management.user.UserRole
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.terracotta.management.user.UserRole
Returns an array containing the constants of this enum type, in the order they are declared.

A B C D E F G H I J L P Q R S T U V

Copyright © 2013 Terracotta, Inc.. All Rights Reserved.