Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Without client_logout_uris parameter
- ==============================================================
- 2016-08-13 19:11:46,636 TRACE [org.xdi.oxd.common.CoreUtils] Parsed sizeString: 0203, commandSize: 203
- 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=''}
- 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"}
- 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
- 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
- 2016-08-13 19:11:47,140 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] Creating site configuration ...
- 2016-08-13 19:11:47,140 ERROR [org.xdi.oxd.server.op.RegisterSiteOperation]
- java.lang.NullPointerException
- at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213)
- at com.google.common.collect.Lists.newArrayList(Lists.java:127)
- at org.xdi.oxd.server.op.RegisterSiteOperation.createRegisterClientRequest(RegisterSiteOperation.java:245)
- at org.xdi.oxd.server.op.RegisterSiteOperation.registerClient(RegisterSiteOperation.java:203)
- at org.xdi.oxd.server.op.RegisterSiteOperation.persistSiteConfiguration(RegisterSiteOperation.java:181)
- at org.xdi.oxd.server.op.RegisterSiteOperation.execute(RegisterSiteOperation.java:60)
- at org.xdi.oxd.server.op.RegisterSiteOperation.execute(RegisterSiteOperation.java:37)
- at org.xdi.oxd.server.Processor.process(Processor.java:100)
- at org.xdi.oxd.server.Processor.process(Processor.java:56)
- at org.xdi.oxd.server.SocketProcessor.run(SocketProcessor.java:60)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
- at java.lang.Thread.run(Thread.java:745)
- 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."}}
- 2016-08-13 19:11:47,144 ERROR [org.xdi.oxd.server.SocketProcessor] Quit. Enable to process command.
- ===================================================================================================
- After 'client_logout_uris' was added to the config
- ===================================================================================================
- 2016-08-13 19:19:05,679 DEBUG [org.xdi.oxd.server.service.SocketService] Start new SocketProcessor...
- 2016-08-13 19:19:05,683 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling...
- 2016-08-13 19:19:05,684 TRACE [org.xdi.oxd.common.CoreUtils] commandSize: -1, stringStorage:
- 2016-08-13 19:19:05,902 TRACE [org.xdi.oxd.common.CoreUtils] Parsed sizeString: 0266, commandSize: 266
- 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=''}
- 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"}
- 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
- 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
- 2016-08-13 19:19:06,408 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] Creating site configuration ...
- 2016-08-13 19:19:06,409 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client.
- 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
- 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}
- 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