Package uk.org.ogsadai.common.rolemap

This package provides a set of classes to support the mapping of security credentials to usernames and passwords - role mapping.

See:
          Description

Interface Summary
Role This empty interface is provided to represent a role when mapping distinguish between user security credentials to some user name and password or some other authorisation mechanism.
RoleMapper An interface for a component that maps user security credentials to database user names and passwords.
 

Class Summary
Cryptography A collection of methods related to encrypting and decrypting strings.
DatabaseRole A class representing a database role (a user ID and password).
DecryptRoleMapperFile Stand-alone utility for converting an XML file with attributes of form encryptedPassword="SOME PASSWORD" so that the values within the quotes are decrypted using a user-supplied encryption password and the encryptedPassword attribute has been renamed to password.
EncryptRoleMapperFile Stand-alone utility for converting an XML file with attributes of form password="SOME PASSWORD" so that the values within the quotes are encrypted using a user-supplied encryption password and the password attribute has been renamed to encryptedPassword.
SimpleFileRoleMapper A component that maps user security credentials to database user names and passwords.
SimpleFileWithEncryptedPasswordsRoleMapper A component that maps user security credentials to database user names and passwords.
 

Exception Summary
CryptographyException Exception thrown when there is an encryption/decryption problem.
RoleMapAuthorizationException Authorization exception thrown by role mappers when the user is not authorized.
RoleMapCannotAuthorizeException An exception thrown when trying to authorize.
RoleMapConfigurationException An exception thrown when trying to configure role maps.
RoleMapperCreationException A problem arose when creating a role mapper.
 

Package uk.org.ogsadai.common.rolemap Description

This package provides a set of classes to support the mapping of security credentials to usernames and passwords - role mapping.