Issue 207 in openid4java: How to disable discovery?

8 views
Skip to first unread message

codesite...@google.com

unread,
Dec 24, 2013, 11:51:15 PM12/24/13
to openid4java-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 207 by i...@chenxiaosheng.com: How to disable discovery?
http://code.google.com/p/openid4java/issues/detail?id=207

```
// perform discovery on the user-supplied identifier
List discoveries = manager.discover(userSuppliedString);

// attempt to associate with the OpenID provider
// and retrieve one service endpoint for authentication
DiscoveryInformation discovered =
manager.associate(discoveries);
```

how can i stop the openid4java to the discovery, or how to make a
DiscoveryInformation object manually without parse remote xrds content.

thanks.


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

codesite...@google.com

unread,
Dec 26, 2013, 4:46:10 AM12/26/13
to openid4java-...@googlegroups.com

Comment #1 on issue 207 by i...@chenxiaosheng.com: How to disable discovery?
http://code.google.com/p/openid4java/issues/detail?id=207

I got it

List discoveries = new ArrayList();
discoveries.add( new DiscoveryInformation( new URL("http://my.url") ) );

codesite...@google.com

unread,
Dec 26, 2013, 1:07:21 PM12/26/13
to openid4java-...@googlegroups.com
Updates:
Status: Invalid

Comment #2 on issue 207 by Johnny.B...@gmail.com: How to disable discovery?
http://code.google.com/p/openid4java/issues/detail?id=207

Discovery is mandatory for OpenID, skipping it would make the library (and
its users) non-compliant. So I'm curios - what's the motivation for wanting
to disable discovery (assuming while still remaining in the OpenID world)?

codesite...@google.com

unread,
Dec 29, 2013, 9:03:50 PM12/29/13
to openid4java-...@googlegroups.com

Comment #3 on issue 207 by stutired...@gmail.com: How to disable discovery?
http://code.google.com/p/openid4java/issues/detail?id=207

mm,because we have only one OpenID Server( for company's internal visit,
not for internet), so, every consumer(application) have the information of
OpenID Server.

if we reduce the discover process, we may reduce the response time and
server load.

codesite...@google.com

unread,
Dec 29, 2013, 9:04:50 PM12/29/13
to openid4java-...@googlegroups.com

Comment #4 on issue 207 by i...@chenxiaosheng.com: How to disable discovery?
Reply all
Reply to author
Forward
0 new messages