tecoholic

oxd-server uma_test

Aug 13th, 2016
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 6.37 KB | None | 0 0
  1.            Without client_logout_uris parameter
  2. ==============================================================
  3.  
  4. 2016-08-13 19:11:46,636 TRACE [org.xdi.oxd.common.CoreUtils] Parsed sizeString: 0203, commandSize: 203
  5. 2016-08-13 19:11:46,636 TRACE [org.xdi.oxd.common.CoreUtils] Read result: ReadResult{m_command='{"params": {"scope": ["uma_authorization", "uma_protection"], "authorization_redirect_uri": "https://dummy-uma.client.org", "redirect_uris": ["https://dummy-uma.client.org"]}, "command": "register_site"}', m_leftString=''}
  6. 2016-08-13 19:11:46,636 TRACE [org.xdi.oxd.server.Processor] Command: {"params": {"scope": ["uma_authorization", "uma_protection"], "authorization_redirect_uri": "https://dummy-uma.client.org", "redirect_uris": ["https://dummy-uma.client.org"]}, "command": "register_site"}
  7. 2016-08-13 19:11:47,139 WARN  [org.xdi.oxd.server.op.RegisterSiteOperation] op_host is not set for parameter: RegisterSiteParams{acrValues=null, opHost='null', authorizationRedirectUri='https://dummy-uma.client.org', redirectUris=[https://dummy-uma.client.org], responseTypes=null, clientId='null', clientSecret='null', sectorIdentifierUri='null', scope=[uma_authorization, uma_protection], uiLocales=null, claimsLocales=null, grantType=null, contacts=null}. Look up at oxd-default-site-config.json for fallback op_host
  8. 2016-08-13 19:11:47,139 WARN  [org.xdi.oxd.server.op.RegisterSiteOperation] Fallback to op_host: https://ce-dev2.gluu.org, from oxd-default-site-config.json
  9. 2016-08-13 19:11:47,140 INFO  [org.xdi.oxd.server.op.RegisterSiteOperation] Creating site configuration ...
  10. 2016-08-13 19:11:47,140 ERROR [org.xdi.oxd.server.op.RegisterSiteOperation]
  11. java.lang.NullPointerException
  12.     at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213)
  13.     at com.google.common.collect.Lists.newArrayList(Lists.java:127)
  14.     at org.xdi.oxd.server.op.RegisterSiteOperation.createRegisterClientRequest(RegisterSiteOperation.java:245)
  15.     at org.xdi.oxd.server.op.RegisterSiteOperation.registerClient(RegisterSiteOperation.java:203)
  16.     at org.xdi.oxd.server.op.RegisterSiteOperation.persistSiteConfiguration(RegisterSiteOperation.java:181)
  17.     at org.xdi.oxd.server.op.RegisterSiteOperation.execute(RegisterSiteOperation.java:60)
  18.     at org.xdi.oxd.server.op.RegisterSiteOperation.execute(RegisterSiteOperation.java:37)
  19.     at org.xdi.oxd.server.Processor.process(Processor.java:100)
  20.     at org.xdi.oxd.server.Processor.process(Processor.java:56)
  21.     at org.xdi.oxd.server.SocketProcessor.run(SocketProcessor.java:60)
  22.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  23.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  24.     at java.lang.Thread.run(Thread.java:745)
  25. 2016-08-13 19:11:47,143 TRACE [org.xdi.oxd.server.Processor] Send back response: {"status":"error","data":{"error":"internal_error","error_description":"Unknown internal server error occurs."}}
  26. 2016-08-13 19:11:47,144 ERROR [org.xdi.oxd.server.SocketProcessor] Quit. Enable to process command.
  27.  
  28. ===================================================================================================
  29.                        After 'client_logout_uris' was added to the config
  30. ===================================================================================================
  31.  
  32. 2016-08-13 19:19:05,679 DEBUG [org.xdi.oxd.server.service.SocketService] Start new SocketProcessor...
  33. 2016-08-13 19:19:05,683 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling...
  34. 2016-08-13 19:19:05,684 TRACE [org.xdi.oxd.common.CoreUtils] commandSize: -1, stringStorage:
  35. 2016-08-13 19:19:05,902 TRACE [org.xdi.oxd.common.CoreUtils] Parsed sizeString: 0266, commandSize: 266
  36. 2016-08-13 19:19:05,902 TRACE [org.xdi.oxd.common.CoreUtils] Read result: ReadResult{m_command='{"params": {"scope": ["uma_authorization", "uma_protection"], "client_logout_uris": ["https://dummy-uma.client.org/logout"], "authorization_redirect_uri": "https://dummy-uma.client.org", "redirect_uris": ["https://dummy-uma.client.org"]}, "command": "register_site"}', m_leftString=''}
  37. 2016-08-13 19:19:05,902 TRACE [org.xdi.oxd.server.Processor] Command: {"params": {"scope": ["uma_authorization", "uma_protection"], "client_logout_uris": ["https://dummy-uma.client.org/logout"], "authorization_redirect_uri": "https://dummy-uma.client.org", "redirect_uris": ["https://dummy-uma.client.org"]}, "command": "register_site"}
  38. 2016-08-13 19:19:06,407 WARN  [org.xdi.oxd.server.op.RegisterSiteOperation] op_host is not set for parameter: RegisterSiteParams{acrValues=null, opHost='null', authorizationRedirectUri='https://dummy-uma.client.org', redirectUris=[https://dummy-uma.client.org], responseTypes=null, clientId='null', clientSecret='null', sectorIdentifierUri='null', scope=[uma_authorization, uma_protection], uiLocales=null, claimsLocales=null, grantType=null, contacts=null}. Look up at oxd-default-site-config.json for fallback op_host
  39. 2016-08-13 19:19:06,408 WARN  [org.xdi.oxd.server.op.RegisterSiteOperation] Fallback to op_host: https://ce-dev2.gluu.org, from oxd-default-site-config.json
  40. 2016-08-13 19:19:06,408 INFO  [org.xdi.oxd.server.op.RegisterSiteOperation] Creating site configuration ...
  41. 2016-08-13 19:19:06,409 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client.
  42. 2016-08-13 19:19:06,597 TRACE [org.xdi.oxd.server.op.RegisterSiteOperation] Registered client for site - client_id: @!40EA.D454.9D4F.E876!0001!ECE8.BBEF!0008!58D0.E94C
  43. 2016-08-13 19:19:06,599 INFO  [org.xdi.oxd.server.op.RegisterSiteOperation] Site configuration created: SiteConfiguration{acrValues=[basic], oxdId='be187daf-87a1-40c7-9b2c-61cdbe58dacf', opHost='https://ce-dev2.gluu.org', authorizationRedirectUri='https://dummy-uma.client.org', applicationType='web', sectorIdentifierUri='null', redirectUris=[https://dummy-uma.client.org], responseTypes=[code], clientId='@!40EA.D454.9D4F.E876!0001!ECE8.BBEF!0008!58D0.E94C', clientSecret='6302a267-486c-4ccb-8524-bcb213b6f943', clientJwksUri='', scope=[uma_authorization, uma_protection], uiLocales=[en], claimsLocales=[en], grantType=[authorization_code], contacts=[], aat=null, aatCreatedAt=null, aatExpiresIn=0, pat=null, patCreatedAt=null, patExpiresIn=0, umaProtectedResources=[], rpt=null, rptCreatedAt=null, rptExpiresIn=null, gat=null, gatCreatedAt=null, gatExpiresIn=null}
  44. 2016-08-13 19:19:06,599 TRACE [org.xdi.oxd.server.Processor] Send back response: {"status":"ok","data":{"oxd_id":"be187daf-87a1-40c7-9b2c-61cdbe58dacf"}}
Add Comment
Please, Sign In to add comment