|
Sun Identity Management
Solutions for authentication, authorization, provisioning, and auditing
» Download Now
Sun Java System Access Manager FAQ: Identity Management
Q: Can I manage users in multiple directory servers and in separate or different root suffixes through the Access Manager client interfaces? Yes, just take advantage of the Access Manager identity APIs in the package Chapter 3, Data Stores, in the Sun Java System Access Manager Administration Guide describes how to manage multiple directory servers in the Administration Console. Q: Can I modify the user's relative distinguished name (RDN) while the user session is active? The identity management APIs, that is, Note: If you change the RDN while the user session is active, that session is not invalidated even though the cache entry for that user is flushed. That means that any read-write operations by the user that involve the SSO token will fail because the original session is linked with the old distinguished name. After the user logs out and logs back in, read-write operations will work properly. Q: Is there a function in the Access Manager SDK that encrypts a clear text password and compares it against the existing encrypted value? Sorry, no such function exists in the Access Manager SDK. Q: For a multivalue Currently, the Access Manager SDK does not contain a method that returns the login token in either a multivalue As a workaround, you can create a custom authentication plug-in to store the information in the session and retrieve it later. Q: How do I configure new data store or identity plug-ins? Chapter 3, Data Stores, in the Sun Java System Access Manager Administration Guide describes the data stores supported by Access Manager and the steps for configuring them. By default, to conform with Access Manager's user management schema, the Access Manager SDK plug-in is configured for the root realm and is supported for Sun Java System Directory Server (henceforth, Directory Server). While installing Access Manager, you configure the required object classes and attributes. The data store of identity plug-ins is configured to obtain identity data, such as users, groups, and roles. You configure the plug-ins for such data in the root realm and subrealms. Q: How do I configure the Access Manager client SDK if a firewall exists between the remote SDK application and Access Manager? To enable the client SDK to access Access Manager through the firewall, point the Access Manager server URLs to the firewall or the load balancer. See the list of client properties; the most important one is Also, for the Access Manager client SDK's identity management component to communicate with Access Manager, set the following property in the
For example:
When the Java API for the XML-Based Remote Procedure Call (JAX-RPC) component of the client SDK starts up, it looks for the endpoint URLs for the Access Manager JAX-RPC service. If the above property is present, the component reads the URLs. Otherwise, it configures all the Access Manager servers on the platform server list with the naming service APIs and checks if any of the servers are up and running. Those checks are performed at startup time only. Note: Access Manager Client SDK 2005Q1 does not support the property Q: Since access control of the Access Manager SDK is based on access control instructions (ACIs), how does access control work in the Access Manager Identity Repository (IdRepo)? Access control for IdRepo is based on a simple delegation model that uses the policy engine as part of Access Manager. The delegation component defines permissions that you can assign to groups or roles. Correspondingly, those permissions become realm and policy privileges, which you can further assign to roles such as Top-level Admin and Policy Admin. You can conveniently manage this model from the Administration Console. Q: What plug-ins or data stores does Access Manager support for IdRepo? Access Manager 7.0 supports two plug-ins: the Access Manager Repository Plug-in and the LDAP Version 3 Repository Plug-in. Additionally, Access Manager 7.1 supports Active Directory and Flat Files. For an up-to-date list of the supported plug-ins, see Chapter 3, Data Stores, in the Sun Java System Access Manager Administration Guide. Q: In the The exception
indicates that you have run out of persistent search connections (30 by default) from Directory Server. Note: Persistent searching applies only to the full SDK and J2EE Policy Agents 2.1 only; 2.2 Agents do not establish persistent searches. Unlike regular directory searches, persistent searches receive notifications from Directory Server when additions, updates, or deletions occur in Directory Server. That way, the caches in the Access Manager and Access Manager SDK instances are kept up to date. Each Access Manager instance requires four persistent search connections and four connections. J2EE Policy Agents 2.1 requires three connections. Calculate the number of persistent search connections required and add at least 4 to the final result. If the total exceeds the default value of 30, do the following:
For details, see the Directory Server documentation. Tuning the number of maximum threads for Directory Server is a bit tricky; a rule of thumb is approximately 15 threads per CPU. Since each search consumes a thread, to optimize performance, keep the number of maximum persistent searches to a lower limit. It is also a good idea to correctly tune the maximum number of connections and file descriptors so as to avoid running out of file descriptors. Perform thorough testing but do not test in a production environment. Having too many threads adversely impacts performance and causes troubleshooting problems for Directory Server instances. Check out Access Manager's Q: What happens if I modify the user password through Java Naming and Directory Interface (JNDI) calls? The caches in the Access Manager layer are synchronized through the LDAP Version 3 Plug-in or, depending on your configuration, the Access Manager SDK with persistent searches to Directory Server. Changes to passwords trigger notifications and an update of the caches. However, the session stays active until the user logs out or until the session is terminated by the administrator. Q: What is IdRepo and what are its benefits? IdRepo stands for Access Manager Identity Repository, which, along with the related APIs, was introduced in Access Manager 7.0. The IdRepo framework is a pluggable model in which you can develop plug-ins for data stores. Once you have configured the plug-ins, IdRepo instantiates and executes them for the operations they support. IdRepo also supports caching of identity attributes by relying on the plug-ins to notify the framework cache of changes in the data store. By default, the IdRepo APIs are in use by all the other components in Access Manager. IdRepo offers many benefits:
Q: What's a realm? Please cite a use case. An access-control realm is a group of authentication properties and authorization policies that you can associate with a user, a group of users, or a collection of protected resources. Realm-based architecture is an independent tree structure that stores an organization's configuration data that might mimic the organization's directory information tree (DIT). By default, apart from the user data, Access Manager automatically inserts the Access Manager DIT as a special branch in Directory Server. Realm data resides in a proprietary information tree created by Access Manager within a specified data store. Access Manager follows a delegation model to manage the organization configuration data of the realm tree. In service management, the concept of storing the organization's configuration data independently of the organization's DIT is known as realm-based configuration support. As a use case, an enterprise can create an access-control realm to apply policies to a group of related services or servers, for example, a realm that groups all the servers and services that are accessed regularly by the employees in one region. And within that region or realm, the enterprise can perform such grouping in a specific division, such as Human Resources. A policy might state that all Human Resources administrators can access the URL Q: What is the difference between the Access Manager Client SDK and the full Access Manager SDK? The Access Manager client SDK supports applications for authentication, SSO, policy evaluation (enforcement of fine-grained policies), and management of user profiles (attributes, roles, and such)basically, all applications that use identity APIs at runtime. The Access Manager client SDK is not aimed for applications that manage policies or identities. Compared to the full SDK, it lacks these two capabilities:
From the deployment standpoint, the client SDK offers the following advantages over the full SDK:
We recommend that you use the client SDK and switch to the full SDK only if the requirements do not match. Q: How do I configure an LDAP Version 3 data store to point to Directory Server with the Access Manager schema installed? The Access Manager SDK Directory Server contains a set of predefined schemas as reflected in the XML and schema files, such as For details, see Chapter 3, Data Stores, in the Sun Java System Access Manager Administration Guide. Q: How do I configure an LDAP Version 3 data store to point to a newly installed Active Directory Server instance? Out of the box, Access Manager defines a set of object classes and attributes that are required in Active Directory Server for its management on Access Manager. Alternatively, you can modify Access Manager's object classes and attributes to match those in Active Directory Server. In the Access Manager Administration Console, you can manage users according to Access Manager's predefined object classes and attributes as specified in the XML files. If Active Directory Server does not have the necessary object classes or attributes defined, then any access that involves the missing classes or attributes will fail. For example, when you create a user on the Administration Console, the Administration Console writes to the Active Directory Server Access Manager's predefined object classes and attributes for that user. If Active Directory Server is not configured with the same classes and attributes, the create operation fails. Nor can you edit the user's information on the Administration Console. LDAP Version 3 Repository supports mapping of attribute names. That means you can refer to an attribute name as, say, X on Access Manager and Y on Active Directory Server. As a result, you need not define all the Access Manager attributes in Active Directory Server. However, if Access Manager contains more attributes than Active Directory Server, you cannot perform one-to-one mapping; moreover, some Access Manager read-write operations will fail because of missing attributes on Active Directory Server. For details on the configuration parameters, see Appendix C in the Sun Java System Access Manager Postinstallation Guide. See also Chapter 3, Data Stores in the Sun Java System Access Manager Administration Guide. Q: How do I configure an LDAP Version 3 data store to point to a newly installed Sun Java System Directory Server instance? The procedure below assumes that you have installed Directory Server with the default sample data and the example organization directory information tree (DIT). You can select both options during installation. It is also assumed that you did not install Access Manager on Directory Server. Out of the box, Access Manager defines a set of object classes and attributes that are required in Directory Server for its management on Access Manager. Alternatively, you can modify Access Manager's object classes and attributes to match those in Directory Server. In the Access Manager Administration Console, you can manage users based on Access Manager's predefined object classes and attributes as specified in the XML files. If Directory Server does not have the necessary object classes or attributes defined, then any access that involves the missing classes or attributes will fail. For example, when you create a user on the Administration Console, the Administration Console writes to Directory Server Access Manager's predefined object classes and attributes for that user. If Directory Server is not configured with the same user object classes and attributes, the create operation fails. Nor can you edit the user's information on the Administration Console. For details on the Access Manager object classes and attributes, see Appendix A in the Sun Java System Access Manager Postinstallation Guide. See also Chapter 3, Data Stores in the Sun Java System Access Manager Administration Guide. |
|
|
| ||||||||||||