Skip to content

Instantly share code, notes, and snippets.

@nu1silva
Last active August 29, 2015 14:27
Show Gist options
  • Save nu1silva/591de61c5e9b030a7b8f to your computer and use it in GitHub Desktop.
Save nu1silva/591de61c5e9b030a7b8f to your computer and use it in GitHub Desktop.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://org.apache.axis2/xsd" xmlns:xsd1="http://dto.configuration.store.user.identity.carbon.wso2.org/xsd">
<soapenv:Header/>
<soapenv:Body>
<xsd:editUserStore>
<xsd:userStoreDTO>
<xsd1:className>org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager</xsd1:className>
<xsd1:domainId>t1.com</xsd1:domainId>
<xsd1:description>t1.com</xsd1:description>
<!-- Mandatory Fields -->
<xsd1:properties>
<xsd1:name>ConnectionName</xsd1:name>
<xsd1:value>CN=Administrator,CN=Users,DC=WSO2,DC=TEST</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>ConnectionURL</xsd1:name>
<xsd1:value>ldaps://localhost:636</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>ConnectionPassword</xsd1:name>
<xsd1:value>password</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>UserSearchBase</xsd1:name>
<xsd1:value>CN=Users,DC=WSO2,DC=TEST</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>Disabled</xsd1:name>
<xsd1:value>false</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>UserNameListFilter</xsd1:name>
<xsd1:value>(objectClass=person)</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>UserNameAttribute</xsd1:name>
<xsd1:value>cn</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>UserNameSearchFilter</xsd1:name>
<xsd1:value>(&amp;(objectClass=user)(cn=?))</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>UserEntryObjectClass</xsd1:name>
<xsd1:value>user</xsd1:value>
</xsd1:properties>
<!-- Optional Fields -->
<xsd1:properties>
<xsd1:name>GroupEntryObjectClass</xsd1:name>
<xsd1:value>group</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>MaxUserNameListLength</xsd1:name>
<xsd1:value>100</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>MaxRoleNameListLength</xsd1:name>
<xsd1:value>100</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>UserRolesCacheEnabled</xsd1:name>
<xsd1:value>true</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>SCIMEnabled</xsd1:name>
<xsd1:value>false</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>ReadGroups</xsd1:name>
<xsd1:value>true</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>GroupSearchBase</xsd1:name>
<xsd1:value>CN=Users,DC=WSO2,DC=TEST</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>GroupNameListFilter</xsd1:name>
<xsd1:value>(objectcategory=group)</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>GroupNameAttribute</xsd1:name>
<xsd1:value>cn</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>MembershipAttribute</xsd1:name>
<xsd1:value>member</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>MemberOfAttribute</xsd1:name>
<xsd1:value></xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>GroupNameSearchFilter</xsd1:name>
<xsd1:value>(&amp;(objectClass=group)(cn=?))</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>PasswordHashMethod</xsd1:name>
<xsd1:value>PLAIN_TEXT</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>PasswordJavaScriptRegEx</xsd1:name>
<xsd1:value>[a-zA-Z0-9._-|//]{3,30}$</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>UserNameJavaScriptRegEx</xsd1:name>
<xsd1:value>^[\S]{3,30}$</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>UserNameJavaRegEx</xsd1:name>
<xsd1:value>[a-zA-Z0-9._-|//]{3,30}$</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>RoleNameJavaScriptRegEx</xsd1:name>
<xsd1:value>^[\S]{3,30}$</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>RoleNameJavaRegEx</xsd1:name>
<xsd1:value>[a-zA-Z0-9._-|//]{3,30}$</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>WriteGroups</xsd1:name>
<xsd1:value>true</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>UserDNPattern</xsd1:name>
<xsd1:value>uid={0},ou=Users,dc=wso2,dc=org</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>EmptyRolesAllowed</xsd1:name>
<xsd1:value>true</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>defaultRealmName</xsd1:name>
<xsd1:value>WSO2.ORG</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>kdcEnabled</xsd1:name>
<xsd1:value>false</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>DisplayNameAttribute</xsd1:name>
<xsd1:value>cn</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>isADLDSRole</xsd1:name>
<xsd1:value>false</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>userAccountControl</xsd1:name>
<xsd1:value>512</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>Referral</xsd1:name>
<xsd1:value>follow</xsd1:value>
</xsd1:properties>
<xsd1:properties>
<xsd1:name>BackLinksEnabled</xsd1:name>
<xsd1:value>true</xsd1:value>
</xsd1:properties>
</xsd:userStoreDTO>
</xsd:editUserStore>
</soapenv:Body>
</soapenv:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment