Skip to content

Instantly share code, notes, and snippets.

@okondrashin
Created February 27, 2020 10:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save okondrashin/14f8339f7390c9fe9f4da57d35182133 to your computer and use it in GitHub Desktop.
Save okondrashin/14f8339f7390c9fe9f4da57d35182133 to your computer and use it in GitHub Desktop.
/* CREATE REQUEST GET https://wso2:9443/scim2/Users/?domain=mydomain&attributes=uid */
/* LOGS FOR REQUEST BEGIN */
[2020-02-27 10:16:47,291] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Searching for user admin
[2020-02-27 10:16:47,292] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Replace escape characters configured to: true
[2020-02-27 10:16:47,292] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Using default configurations for the user DN cache, having search base : ou=Users,dc=wso2,dc=org
[2020-02-27 10:16:47,293] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Replace escape characters configured to: true
[2020-02-27 10:16:47,293] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - value after escaping special characters in admin : admin
[2020-02-27 10:16:47,293] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Using default configurations for the user DN cache, having search base : ou=Users,dc=wso2,dc=org
[2020-02-27 10:16:47,293] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - User: admin exist: true
[2020-02-27 10:16:47,293] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Searching for user admin
[2020-02-27 10:16:47,293] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Replace escape characters configured to: true
[2020-02-27 10:16:47,293] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Using default configurations for the user DN cache, having search base : ou=Users,dc=wso2,dc=org
[2020-02-27 10:16:47,294] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Replace escape characters configured to: true
[2020-02-27 10:16:47,294] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - value after escaping special characters in admin : admin
[2020-02-27 10:16:47,294] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Using default configurations for the user DN cache, having search base : ou=Users,dc=wso2,dc=org
[2020-02-27 10:16:47,294] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - User: admin exist: true
[2020-02-27 10:16:47,294] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Using default configurations for the user DN cache, having search base : ou=Users,dc=wso2,dc=org
[2020-02-27 10:16:47,294] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.LDAPConnectionContext} - LDAP connection circuit breaker state: close, so trying to obtain the LDAP connection, connection URL: ldap://localhost:10389
[2020-02-27 10:16:47,312] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Replace escape characters configured to: true
[2020-02-27 10:16:47,312] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Searching for user with SearchFilter: (&(objectClass=person)(uid=admin)) in SearchBase:
[2020-02-27 10:16:47,312] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Requesting attribute :accountLock
[2020-02-27 10:16:47,316] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Authenticating user admin
[2020-02-27 10:16:47,316] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Using default configurations for the user DN cache, having search base : ou=Users,dc=wso2,dc=org
[2020-02-27 10:16:47,316] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Cache hit. Using DN uid=admin,ou=Users,dc=WSO2,dc=ORG
[2020-02-27 10:16:47,332] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - User: uid=admin,ou=Users,dc=WSO2,dc=ORG is authnticated: true
[2020-02-27 10:16:47,349] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.common.AbstractUserStoreManager} - Listing users who having value as MYDOMAIN/* for the claim http://wso2.org/claims/userid
[2020-02-27 10:16:47,350] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.common.AbstractUserStoreManager} - Domain: MYDOMAIN is passed with the claim and user store manager is loaded for the given domain name.
[2020-02-27 10:16:47,350] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.common.AbstractUserStoreManager} - Pre listener user list: [] for domain: MYDOMAIN
[2020-02-27 10:16:47,351] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.common.AbstractUserStoreManager} - Domain found in claim value. Searching only in the MYDOMAIN for possible matches
[2020-02-27 10:16:47,351] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Replace escape characters configured to: true
[2020-02-27 10:16:47,351] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.LDAPConnectionContext} - LDAP connection circuit breaker state: close, so trying to obtain the LDAP connection, connection URL: ldap://ad:389
[2020-02-27 10:16:47,356] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Listing users with Property: username SearchFilter: (&(objectClass=person)(username=*))
[2020-02-27 10:16:47,357] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Searching for user with SearchFilter: (&(objectClass=person)(username=*)) in SearchBase:
[2020-02-27 10:16:47,357] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Requesting attribute :username
[2020-02-27 10:16:47,357] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Requesting attribute :sn
[2020-02-27 10:16:47,400] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - username : user1
[2020-02-27 10:16:47,401] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - username : user2
[2020-02-27 10:16:47,402] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - username : user3
[2020-02-27 10:17:17,996] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Using default configurations for the user DN cache, having search base : DC=MYDOMAIN,DC=local
[2020-02-27 10:17:17,999] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.LDAPConnectionContext} - LDAP connection circuit breaker state: close, so trying to obtain the LDAP connection, connection URL: ldap://ad:389
[2020-02-27 10:17:18,004] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Replace escape characters configured to: true
[2020-02-27 10:17:18,005] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Searching for user with SearchFilter: (&(objectClass=person)(username=user1)) in SearchBase:
[2020-02-27 10:17:18,006] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Requesting attribute :username
[2020-02-27 10:17:23,037] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Using default configurations for the user DN cache, having search base : DC=MYDOMAIN,DC=local
[2020-02-27 10:17:23,038] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.LDAPConnectionContext} - LDAP connection circuit breaker state: close, so trying to obtain the LDAP connection, connection URL: ldap://ad:389
[2020-02-27 10:17:23,044] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Replace escape characters configured to: true
[2020-02-27 10:17:23,045] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Searching for user with SearchFilter: (&(objectClass=person)(username=user2)) in SearchBase:
[2020-02-27 10:17:23,045] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Requesting attribute :username
[2020-02-27 10:17:28,067] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Using default configurations for the user DN cache, having search base : DC=MYDOMAIN,DC=local
[2020-02-27 10:17:28,068] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.LDAPConnectionContext} - LDAP connection circuit breaker state: close, so trying to obtain the LDAP connection, connection URL: ldap://ad:389
[2020-02-27 10:17:28,073] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Replace escape characters configured to: true
[2020-02-27 10:17:28,074] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Searching for user with SearchFilter: (&(objectClass=person)(username=user3)) in SearchBase:
[2020-02-27 10:17:28,074] [f85f65f2-c66f-48f3-9c9a-fed0e4021e42] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Requesting attribute :username
[2020-02-27 10:17:28,232] [f5b2615d-5b1d-4a60-8e63-9362cc63f55c] ERROR {org.wso2.carbon.user.core.common.AbstractUserStoreManager} - Error occurred while accessing Java Security Manager Privilege Block when called by method getRoleListOfUsers with 1 length of Objects and argTypes [class [Ljava.lang.String;]
/* LOGS FOR REQUEST END */
/* RESPONSE */
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"detail": "Error occurred while retrieving SCIM user information",
"status": "500"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment