{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-projects/spring-security-saml-dsl/issues/19","repository_url":"https://api.github.com/repos/spring-projects/spring-security-saml-dsl","labels_url":"https://api.github.com/repos/spring-projects/spring-security-saml-dsl/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-security-saml-dsl/issues/19/comments","events_url":"https://api.github.com/repos/spring-projects/spring-security-saml-dsl/issues/19/events","html_url":"https://github.com/spring-projects/spring-security-saml-dsl/issues/19","id":153525246,"number":19,"title":"Make the DSL hierarchy include IDP and SP","user":{"login":"rwinch","id":362503,"avatar_url":"https://avatars.githubusercontent.com/u/362503?v=3","gravatar_id":"","url":"https://api.github.com/users/rwinch","html_url":"https://github.com/rwinch","followers_url":"https://api.github.com/users/rwinch/followers","following_url":"https://api.github.com/users/rwinch/following{/other_user}","gists_url":"https://api.github.com/users/rwinch/gists{/gist_id}","starred_url":"https://api.github.com/users/rwinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwinch/subscriptions","organizations_url":"https://api.github.com/users/rwinch/orgs","repos_url":"https://api.github.com/users/rwinch/repos","events_url":"https://api.github.com/users/rwinch/events{/privacy}","received_events_url":"https://api.github.com/users/rwinch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-06T19:49:11Z","updated_at":"2016-05-06T19:49:11Z","closed_at":null,"body":"The base of the hierarchy should include identityProvider and serviceProvider to to separate the to ensure separation of those two configs is clear.\r\n\r\nFor example:\r\n\r\n```java\r\nhttp\r\n    ...\r\n    .apply(okta())\r\n        .idp() // could be .identityProvider() instead (not sure which is better)\r\n            .metadataUrl(\"...\")\r\n            .and()\r\n        .sp() // could be .serviceProvider() instead (not sure which is better)\r\n           .keystore(...)\r\n```"}}