Skip to content

Instantly share code, notes, and snippets.

@ilgrosso
Created September 4, 2015 14:15
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 ilgrosso/36f7aae320dda02e67d4 to your computer and use it in GitHub Desktop.
Save ilgrosso/36f7aae320dda02e67d4 to your computer and use it in GitHub Desktop.
set 04, 2015 4:14:03 PM org.apache.cxf.interceptor.LoggingOutInterceptor
INFORMAZIONI: Outbound Message
---------------------------
ID: 1
Address: http://localhost:9080/syncope/rest/policies
Http-Method: POST
Content-Type: application/json
Headers: {Content-Type=[application/json], Accept=[application/json], Authorization=[Basic YWRtaW46cGFzc3dvcmQ=]}
Payload: {"@class":"org.apache.syncope.common.lib.policy.AccountPolicyTO","key":0,"description":"Account Policy with custom rules","type":"ACCOUNT","propagateSuspension":false,"maxAuthenticationAttempts":0,"usedByResources":[],"usedByRealms":[],"ruleConfs":[{"@class":"net.tirasa.blog.ilgrosso.syncopecustompolicyrules.common.CustomAccountRuleConf","name":"net.tirasa.blog.ilgrosso.syncopecustompolicyrules.common.CustomAccountRuleConf","requiredSubString":"tralallallero"}],"resources":[]}
--------------------------------------
set 04, 2015 4:14:03 PM org.apache.cxf.interceptor.LoggingInInterceptor
INFORMAZIONI: Inbound Message
----------------------------
ID: 1
Response-Code: 201
Encoding: ISO-8859-1
Content-Type:
Headers: {Content-Length=[0], Date=[Fri, 04 Sep 2015 14:14:03 GMT], Location=[http://localhost:9080/syncope/rest/policies/1000], Server=[Apache-Coyote/1.1], X-Syncope-Domain=[Master], X-Syncope-Key=[1000]}
--------------------------------------
set 04, 2015 4:14:03 PM org.apache.cxf.interceptor.LoggingOutInterceptor
INFORMAZIONI: Outbound Message
---------------------------
ID: 2
Address: http://localhost:9080/syncope/rest/policies/1000
Http-Method: GET
Content-Type:
Headers: {Accept=[application/json], Authorization=[Basic YWRtaW46cGFzc3dvcmQ=]}
--------------------------------------
set 04, 2015 4:14:03 PM org.apache.cxf.interceptor.LoggingInInterceptor
INFORMAZIONI: Inbound Message
----------------------------
ID: 2
Response-Code: 200
Encoding: UTF-8
Content-Type: application/json;charset=UTF-8
Headers: {content-type=[application/json;charset=UTF-8], Date=[Fri, 04 Sep 2015 14:14:03 GMT], Server=[Apache-Coyote/1.1], transfer-encoding=[chunked], X-Syncope-Domain=[Master]}
Payload: {"@class":"org.apache.syncope.common.lib.policy.AccountPolicyTO","key":1000,"description":"Account Policy with custom rules","type":"ACCOUNT","propagateSuspension":false,"maxAuthenticationAttempts":0,"usedByResources":[],"usedByRealms":[],"ruleConfs":[{"@class":"net.tirasa.blog.ilgrosso.syncopecustompolicyrules.common.CustomAccountRuleConf","name":"net.tirasa.blog.ilgrosso.syncopecustompolicyrules.common.CustomAccountRuleConf","requiredSubString":"tralallallero"}],"resources":[]}
--------------------------------------
set 04, 2015 4:14:04 PM org.apache.cxf.interceptor.LoggingOutInterceptor
INFORMAZIONI: Outbound Message
---------------------------
ID: 3
Address: http://localhost:9080/syncope/rest/policies
Http-Method: POST
Content-Type: application/json
Headers: {Content-Type=[application/json], Accept=[application/json], Authorization=[Basic YWRtaW46cGFzc3dvcmQ=]}
Payload: {"@class":"org.apache.syncope.common.lib.policy.PasswordPolicyTO","key":0,"description":"Password Policy with custom rules","type":"PASSWORD","allowNullPassword":false,"historyLength":0,"usedByResources":[],"usedByRealms":[],"ruleConfs":[{"@class":"net.tirasa.blog.ilgrosso.syncopecustompolicyrules.common.CustomPasswordRuleConf","name":"net.tirasa.blog.ilgrosso.syncopecustompolicyrules.common.CustomPasswordRuleConf"}]}
--------------------------------------
set 04, 2015 4:14:04 PM org.apache.cxf.interceptor.LoggingInInterceptor
INFORMAZIONI: Inbound Message
----------------------------
ID: 3
Response-Code: 201
Encoding: ISO-8859-1
Content-Type:
Headers: {Content-Length=[0], Date=[Fri, 04 Sep 2015 14:14:04 GMT], Location=[http://localhost:9080/syncope/rest/policies/1050], Server=[Apache-Coyote/1.1], X-Syncope-Domain=[Master], X-Syncope-Key=[1050]}
--------------------------------------
set 04, 2015 4:14:04 PM org.apache.cxf.interceptor.LoggingOutInterceptor
INFORMAZIONI: Outbound Message
---------------------------
ID: 4
Address: http://localhost:9080/syncope/rest/policies/1050
Http-Method: GET
Content-Type:
Headers: {Accept=[application/json], Authorization=[Basic YWRtaW46cGFzc3dvcmQ=]}
--------------------------------------
set 04, 2015 4:14:04 PM org.apache.cxf.interceptor.LoggingInInterceptor
INFORMAZIONI: Inbound Message
----------------------------
ID: 4
Response-Code: 200
Encoding: UTF-8
Content-Type: application/json;charset=UTF-8
Headers: {content-type=[application/json;charset=UTF-8], Date=[Fri, 04 Sep 2015 14:14:04 GMT], Server=[Apache-Coyote/1.1], transfer-encoding=[chunked], X-Syncope-Domain=[Master]}
Payload: {"@class":"org.apache.syncope.common.lib.policy.PasswordPolicyTO","key":1050,"description":"Password Policy with custom rules","type":"PASSWORD","allowNullPassword":false,"historyLength":0,"usedByResources":[],"usedByRealms":[],"ruleConfs":[{"@class":"net.tirasa.blog.ilgrosso.syncopecustompolicyrules.common.CustomPasswordRuleConf","name":"net.tirasa.blog.ilgrosso.syncopecustompolicyrules.common.CustomPasswordRuleConf"}]}
--------------------------------------
set 04, 2015 4:14:04 PM org.apache.cxf.interceptor.LoggingOutInterceptor
INFORMAZIONI: Outbound Message
---------------------------
ID: 5
Address: http://localhost:9080/syncope/rest/realms
Http-Method: GET
Content-Type: application/json
Headers: {Content-Type=[application/json], Accept=[application/json], Authorization=[Basic YWRtaW46cGFzc3dvcmQ=]}
--------------------------------------
set 04, 2015 4:14:04 PM org.apache.cxf.interceptor.LoggingInInterceptor
INFORMAZIONI: Inbound Message
----------------------------
ID: 5
Response-Code: 200
Encoding: UTF-8
Content-Type: application/json;charset=UTF-8
Headers: {content-type=[application/json;charset=UTF-8], Date=[Fri, 04 Sep 2015 14:14:04 GMT], Server=[Apache-Coyote/1.1], transfer-encoding=[chunked], X-Syncope-Domain=[Master]}
Payload: [{"key":1,"name":"/","parent":0,"fullPath":"/","accountPolicy":null,"passwordPolicy":4},{"key":2,"name":"odd","parent":1,"fullPath":"/odd","accountPolicy":6,"passwordPolicy":4},{"key":3,"name":"even","parent":1,"fullPath":"/even","accountPolicy":null,"passwordPolicy":4},{"key":4,"name":"two","parent":3,"fullPath":"/even/two","accountPolicy":5,"passwordPolicy":2}]
--------------------------------------
set 04, 2015 4:14:04 PM org.apache.cxf.interceptor.LoggingOutInterceptor
INFORMAZIONI: Outbound Message
---------------------------
ID: 6
Address: http://localhost:9080/syncope/rest/realms/
Http-Method: PUT
Content-Type: application/json
Headers: {Content-Type=[application/json], Accept=[application/json], Authorization=[Basic YWRtaW46cGFzc3dvcmQ=]}
Payload: {"key":1,"name":"/","parent":0,"fullPath":"/","accountPolicy":1000,"passwordPolicy":1050}
--------------------------------------
set 04, 2015 4:14:04 PM org.apache.cxf.interceptor.LoggingInInterceptor
INFORMAZIONI: Inbound Message
----------------------------
ID: 6
Response-Code: 204
Encoding: ISO-8859-1
Content-Type:
Headers: {Date=[Fri, 04 Sep 2015 14:14:04 GMT], Server=[Apache-Coyote/1.1], X-Syncope-Domain=[Master]}
--------------------------------------
set 04, 2015 4:14:04 PM org.apache.cxf.interceptor.LoggingOutInterceptor
INFORMAZIONI: Outbound Message
---------------------------
ID: 7
Address: http://localhost:9080/syncope/rest/users
Http-Method: POST
Content-Type: application/json
Headers: {Content-Type=[application/json], Accept=[application/json], Authorization=[Basic YWRtaW46cGFzc3dvcmQ=]}
Payload: {"@class":"org.apache.syncope.common.lib.to.UserTO","creator":null,"creationDate":null,"lastModifier":null,"lastChangeDate":null,"key":0,"type":"USER","realm":"/","status":null,"password":"password123","token":null,"tokenExpireTime":null,"username":"sample@tirasa.net","lastLoginDate":null,"changePwdDate":null,"failedLogins":null,"securityQuestion":1,"securityAnswer":"password123","auxClasses":[],"derAttrs":[{"schema":"cn","readonly":false,"values":[null]}],"virAttrs":[{"schema":"virtualdata","readonly":false,"values":["virtualvalue"]}],"resources":[],"propagationStatuses":[],"roles":[],"dynRoles":[],"relationships":[],"memberships":[],"dynGroups":[],"plainAttrs":[{"schema":"fullname","readonly":false,"values":["sample@tirasa.net"]},{"schema":"firstname","readonly":false,"values":["sample@tirasa.net"]},{"schema":"surname","readonly":false,"values":["surname"]},{"schema":"type","readonly":false,"values":["a type"]},{"schema":"userId","readonly":false,"values":["sample@tirasa.net"]},{"schema":"email","readonly":false,"values":["sample@tirasa.net"]}]}
--------------------------------------
set 04, 2015 4:14:05 PM org.apache.cxf.interceptor.LoggingInInterceptor
INFORMAZIONI: Inbound Message
----------------------------
ID: 7
Response-Code: 400
Encoding: ISO-8859-1
Content-Type:
Headers: {connection=[close], Content-Length=[0], Date=[Fri, 04 Sep 2015 14:14:05 GMT], Server=[Apache-Coyote/1.1], X-Application-Error-Code=[InvalidUser], X-Application-Error-Info=[InvalidUser:InvalidPassword: Password has same value as security answer], X-Syncope-Domain=[Master]}
--------------------------------------
set 04, 2015 4:14:05 PM org.apache.cxf.jaxrs.provider.AbstractConfigurableProvider reportEmptyContentLength
AVVERTENZA: Message body is empty
set 04, 2015 4:14:05 PM org.apache.cxf.jaxrs.utils.JAXRSUtils logMessageHandlerProblem
GRAVE: Problem with reading the data, class org.apache.syncope.common.lib.to.ErrorTO, ContentType: */*.
set 04, 2015 4:14:05 PM org.apache.cxf.interceptor.LoggingOutInterceptor
INFORMAZIONI: Outbound Message
---------------------------
ID: 8
Address: http://localhost:9080/syncope/rest/users
Http-Method: POST
Content-Type: application/json
Headers: {Content-Type=[application/json], Accept=[application/json], Authorization=[Basic YWRtaW46cGFzc3dvcmQ=]}
Payload: {"@class":"org.apache.syncope.common.lib.to.UserTO","creator":null,"creationDate":null,"lastModifier":null,"lastChangeDate":null,"key":0,"type":"USER","realm":"/","status":null,"password":"password123","token":null,"tokenExpireTime":null,"username":"sample@tirasa.net","lastLoginDate":null,"changePwdDate":null,"failedLogins":null,"securityQuestion":1,"securityAnswer":"password123","auxClasses":[],"derAttrs":[{"schema":"cn","readonly":false,"values":[null]}],"virAttrs":[{"schema":"virtualdata","readonly":false,"values":["virtualvalue"]}],"resources":[],"propagationStatuses":[],"roles":[],"dynRoles":[],"relationships":[],"memberships":[],"dynGroups":[],"plainAttrs":[{"schema":"fullname","readonly":false,"values":["sample@tirasa.net"]},{"schema":"firstname","readonly":false,"values":["sample@tirasa.net"]},{"schema":"surname","readonly":false,"values":["surname"]},{"schema":"type","readonly":false,"values":["a type"]},{"schema":"userId","readonly":false,"values":["sample@tirasa.net"]},{"schema":"email","readonly":false,"values":["sample@tirasa.net"]}]}
--------------------------------------
set 04, 2015 4:14:05 PM org.apache.cxf.interceptor.LoggingInInterceptor
INFORMAZIONI: Inbound Message
----------------------------
ID: 8
Response-Code: 400
Encoding: ISO-8859-1
Content-Type:
Headers: {connection=[close], Content-Length=[0], Date=[Fri, 04 Sep 2015 14:14:05 GMT], Server=[Apache-Coyote/1.1], X-Application-Error-Code=[InvalidUser], X-Application-Error-Info=[InvalidUser:InvalidPassword: Password has same value as security answer], X-Syncope-Domain=[Master]}
--------------------------------------
set 04, 2015 4:14:05 PM org.apache.cxf.jaxrs.provider.AbstractConfigurableProvider reportEmptyContentLength
AVVERTENZA: Message body is empty
set 04, 2015 4:14:05 PM org.apache.cxf.jaxrs.utils.JAXRSUtils logMessageHandlerProblem
GRAVE: Problem with reading the data, class org.apache.syncope.common.lib.to.ErrorTO, ContentType: */*.
set 04, 2015 4:14:05 PM org.apache.cxf.interceptor.LoggingOutInterceptor
INFORMAZIONI: Outbound Message
---------------------------
ID: 9
Address: http://localhost:9080/syncope/rest/users
Http-Method: POST
Content-Type: application/json
Headers: {Content-Type=[application/json], Accept=[application/json], Authorization=[Basic YWRtaW46cGFzc3dvcmQ=]}
Payload: {"@class":"org.apache.syncope.common.lib.to.UserTO","creator":null,"creationDate":null,"lastModifier":null,"lastChangeDate":null,"key":0,"type":"USER","realm":"/","status":null,"password":"password123","token":null,"tokenExpireTime":null,"username":"sample@tirasa.net","lastLoginDate":null,"changePwdDate":null,"failedLogins":null,"securityQuestion":1,"securityAnswer":"another value","auxClasses":[],"derAttrs":[{"schema":"cn","readonly":false,"values":[null]}],"virAttrs":[{"schema":"virtualdata","readonly":false,"values":["virtualvalue"]}],"resources":[],"propagationStatuses":[],"roles":[],"dynRoles":[],"relationships":[],"memberships":[],"dynGroups":[],"plainAttrs":[{"schema":"fullname","readonly":false,"values":["sample@tirasa.net"]},{"schema":"firstname","readonly":false,"values":["sample@tirasa.net"]},{"schema":"surname","readonly":false,"values":["surname"]},{"schema":"type","readonly":false,"values":["a type"]},{"schema":"userId","readonly":false,"values":["sample@tirasa.net"]},{"schema":"email","readonly":false,"values":["sample@tirasa.net"]}]}
--------------------------------------
set 04, 2015 4:14:05 PM org.apache.cxf.interceptor.LoggingInInterceptor
INFORMAZIONI: Inbound Message
----------------------------
ID: 9
Response-Code: 400
Encoding: ISO-8859-1
Content-Type:
Headers: {connection=[close], Content-Length=[0], Date=[Fri, 04 Sep 2015 14:14:05 GMT], Server=[Apache-Coyote/1.1], X-Application-Error-Code=[InvalidUser], X-Application-Error-Info=[InvalidUser:InvalidUsername: Username not containing tralallallero], X-Syncope-Domain=[Master]}
--------------------------------------
set 04, 2015 4:14:05 PM org.apache.cxf.jaxrs.provider.AbstractConfigurableProvider reportEmptyContentLength
AVVERTENZA: Message body is empty
set 04, 2015 4:14:05 PM org.apache.cxf.jaxrs.utils.JAXRSUtils logMessageHandlerProblem
GRAVE: Problem with reading the data, class org.apache.syncope.common.lib.to.ErrorTO, ContentType: */*.
set 04, 2015 4:14:05 PM org.apache.cxf.interceptor.LoggingOutInterceptor
INFORMAZIONI: Outbound Message
---------------------------
ID: 10
Address: http://localhost:9080/syncope/rest/users
Http-Method: POST
Content-Type: application/json
Headers: {Content-Type=[application/json], Accept=[application/json], Authorization=[Basic YWRtaW46cGFzc3dvcmQ=]}
Payload: {"@class":"org.apache.syncope.common.lib.to.UserTO","creator":null,"creationDate":null,"lastModifier":null,"lastChangeDate":null,"key":0,"type":"USER","realm":"/","status":null,"password":"password123","token":null,"tokenExpireTime":null,"username":"pretralallalleropost","lastLoginDate":null,"changePwdDate":null,"failedLogins":null,"securityQuestion":1,"securityAnswer":"another value","auxClasses":[],"derAttrs":[{"schema":"cn","readonly":false,"values":[null]}],"virAttrs":[{"schema":"virtualdata","readonly":false,"values":["virtualvalue"]}],"resources":[],"propagationStatuses":[],"roles":[],"dynRoles":[],"relationships":[],"memberships":[],"dynGroups":[],"plainAttrs":[{"schema":"fullname","readonly":false,"values":["sample@tirasa.net"]},{"schema":"firstname","readonly":false,"values":["sample@tirasa.net"]},{"schema":"surname","readonly":false,"values":["surname"]},{"schema":"type","readonly":false,"values":["a type"]},{"schema":"userId","readonly":false,"values":["sample@tirasa.net"]},{"schema":"email","readonly":false,"values":["sample@tirasa.net"]}]}
--------------------------------------
set 04, 2015 4:14:06 PM org.apache.cxf.interceptor.LoggingInInterceptor
INFORMAZIONI: Inbound Message
----------------------------
ID: 10
Response-Code: 201
Encoding: UTF-8
Content-Type: application/json;charset=UTF-8
Headers: {content-type=[application/json;charset=UTF-8], Date=[Fri, 04 Sep 2015 14:14:06 GMT], ETag=["1441376046005"], Location=[http://localhost:9080/syncope/rest/users/103], Server=[Apache-Coyote/1.1], transfer-encoding=[chunked], X-Syncope-Domain=[Master], X-Syncope-Key=[103]}
Payload: {"@class":"org.apache.syncope.common.lib.to.UserTO","creator":"admin","creationDate":1441376046005,"lastModifier":"admin","lastChangeDate":1441376046005,"key":103,"type":"USER","realm":"/","status":"active","password":"CBFDAC6008F9CAB4083784CBD1874F76618D2A97","token":null,"tokenExpireTime":null,"username":"pretralallalleropost","lastLoginDate":null,"changePwdDate":null,"failedLogins":0,"securityQuestion":1,"securityAnswer":null,"auxClasses":[],"derAttrs":[{"schema":"cn","readonly":true,"values":["surname, sample@tirasa.net"]}],"virAttrs":[{"schema":"virtualdata","readonly":false,"values":[]}],"resources":[],"propagationStatuses":[],"roles":[],"dynRoles":[],"relationships":[],"memberships":[],"dynGroups":[],"plainAttrs":[{"schema":"fullname","readonly":false,"values":["sample@tirasa.net"]},{"schema":"firstname","readonly":false,"values":["sample@tirasa.net"]},{"schema":"surname","readonly":false,"values":["surname"]},{"schema":"type","readonly":false,"values":["a type"]},{"schema":"userId","readonly":false,"values":["sample@tirasa.net"]},{"schema":"email","readonly":false,"values":["sample@tirasa.net"]}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment