Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

XML elementAttributeDescriptionData typeDefault valueMandatory/OptionalSample
<UserManager> User kernel configuration for Carbon server.    
__<Realm> Realm configuration.    
____<Configuration>     
Code Block
languagehtml/xml
<Configuration><AddAdmin>true</AddAdmin><AdminRole>admin</AdminRole>-<AdminUser><UserName>admin</UserName><Password>admin</Password></AdminUser><EveryOneRoleName>everyone</EveryOneRoleName>
<!-- By default users in this role sees the registry root -->
<Property name="dataSource">jdbc/WSO2CarbonDB</Property></Configuration>
______<AddAdmin> This mentions whether the admin user and admin role must be created in the primary user store.BooleanN/AMandatory 
_______<AdminRole> The role name that is used as an admin role for the Carbon server.StringN/AMandatory 
________<AdminUser>      
__________<UserName> User name that is used as an admin user name for the Carbon server.StringN/AMandatory 
___________<Password> Password of the admin user, If the admin user is needed be created in the Carbon server.StringN/AOptional 
________<EveryOneRoleName> By default, every user in the user store is assigned to this role.StringN/AMandatory 
_________<Property> User realm configuration specific property values.StringN/AMandatory 
____<UserStoreManager> User Store manager implementation classes and their configurations for use realm. Use the ReadOnlyLDAPUserStoreManager to do read-only operations for external LDAP user stores.

To do both read and write operations, use the ReadWriteLDAPUserStoreManager for external LDAP user stores.

If you wish to use an Active Directory Domain Service (AD DS) or Active Directory Lightweight Directory Service (AD LDS) , use the ActiveDirectoryUserStoreManager. This can be used for both read-only and read/write operations.

Use JDBCUserStoreManager for both internal and external JDBC user stores.
StringN/AMandatory<UserStoreManager class="org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager">
 class     
______<Property> User store configuration specific property values. See working with primary user store properties for more information.StringN/AOptional<Property name="ReadOnly">false</Property>
____<AuthorizationManager> Authorization manager implementation class and its configuration for user realm.StringN/AMandatory<AuthorizationManager class="org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager">
 class     
______<Property> Authorization manager configuration specific property values.StringN/AOptional<Property name="AuthorizationCacheEnabled">true</Property>