Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust the credential classes to be able to read the new JSON credentials #7

robert-bor opened this issue Mar 28, 2013 · 0 comments


Copy link

@robert-bor robert-bor commented Mar 28, 2013

Adopt Erik's classloader hack:

public class EndPoint {

    public java.lang.String adminURL;

    public java.lang.String region;

    public java.lang.String internalURL;

    public java.lang.String publicURL;

    public String id;
public class Metadata {

    public boolean is_admin;

    public List<String> roles;

public class AccessImpl implements Access {

// ... snip...

    public Metadata metadata;
public class Tenant {

    public boolean enabled;

    public String id;

    public String name;

    public String handle;

    public String description;

Make sure JSON ignores the (new) extra fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant