{"id":5253,"date":"2020-08-30T11:24:54","date_gmt":"2020-08-30T09:24:54","guid":{"rendered":"https:\/\/www.scapeler.com\/?page_id=5253"},"modified":"2020-08-30T12:48:32","modified_gmt":"2020-08-30T10:48:32","slug":"identity-management","status":"publish","type":"page","link":"https:\/\/www.scapeler.com\/index.php\/identity-management\/","title":{"rendered":"Identity Management"},"content":{"rendered":"<p>To control and secure applications, web-services and IoT-devices there must be somekind of mechanism to control identity and levels of authorization, we need identity management. FIWARE implemented some services and tools to allow you to manage authentication and authorization in applications and backend services.<\/p>\n<h1>Identity management concepts<\/h1>\n<p>The main identity management concepts are:<\/p>\n<ul>\n<li>Users\n<ul>\n<li>Have a registered account.<\/li>\n<li>Can manage organizations and register applications.<\/li>\n<\/ul>\n<\/li>\n<li>Organizations\n<ul>\n<li>Are group of users that share resources of an application (roles and permissions).<\/li>\n<li>Users can be members or owners (manage the organization).<\/li>\n<\/ul>\n<\/li>\n<li>Applications\n<ul>\n<li>has the client role in the OAuth 2.0 architecture and will request protected user data.<\/li>\n<li>Are able to authenticate users using their Oauth credentials (ID and secret) which unequivocally identify the application<\/li>\n<li>Define roles and permissions to manage authorization of users and organizations<\/li>\n<li>Can register Pep Proxy to protect backends.<\/li>\n<li>Can register IoT Agents.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h1>Keyrock &#8211; users and permissions<\/h1>\n<p>Keyrock is an so called Generic Enabler in Fiware which allow the creation of users and organizations.You can also register new applications in order to use the OAuth2 protocol and manage roles and permissions.<\/p>\n<h1>Wilma &#8211; PEP proxy<\/h1>\n<p>To allow only permitted users or applications to access a REST service a PEP-proxy is placed between the application and the endpoint of the REST-service. The PEP-proxy receives the requests only allowing those with and valid token.<\/p>\n<h1>Authentication process<\/h1>\n<ol>\n<li>Identify<\/li>\n<li>Get an access token<\/li>\n<li>Request REST-service via PEP-proxy<\/li>\n<li>PEP-proxy asks if token is allowed for this service<\/li>\n<li>OK-response from IDM<\/li>\n<li>Access validated resource<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5254 size-full\" src=\"https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-20-47.png\" alt=\"\" width=\"477\" height=\"643\" srcset=\"https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-20-47.png 477w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-20-47-223x300.png 223w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-20-47-312x420.png 312w\" sizes=\"auto, (max-width: 477px) 100vw, 477px\" \/><\/p>\n<h1>Examples IDM<\/h1>\n<figure id=\"attachment_5264\" aria-describedby=\"caption-attachment-5264\" style=\"width: 623px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5264 size-full\" src=\"https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-50-59.png\" alt=\"\" width=\"623\" height=\"349\" srcset=\"https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-50-59.png 623w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-50-59-600x336.png 600w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-50-59-300x168.png 300w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><figcaption id=\"caption-attachment-5264\" class=\"wp-caption-text\">Sign in screen<\/figcaption><\/figure>\n<figure id=\"attachment_5257\" aria-describedby=\"caption-attachment-5257\" style=\"width: 1069px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5257 size-full\" src=\"https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-30-31.png\" alt=\"\" width=\"1069\" height=\"520\" srcset=\"https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-30-31.png 1069w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-30-31-600x292.png 600w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-30-31-300x146.png 300w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-30-31-1024x498.png 1024w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-30-31-768x374.png 768w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-30-31-696x339.png 696w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-30-31-863x420.png 863w\" sizes=\"auto, (max-width: 1069px) 100vw, 1069px\" \/><figcaption id=\"caption-attachment-5257\" class=\"wp-caption-text\">Home page with applications and organizations<\/figcaption><\/figure>\n<figure id=\"attachment_5258\" aria-describedby=\"caption-attachment-5258\" style=\"width: 1257px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5258 size-full\" src=\"https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-37-15.png\" alt=\"\" width=\"1257\" height=\"716\" srcset=\"https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-37-15.png 1257w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-37-15-600x342.png 600w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-37-15-300x171.png 300w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-37-15-1024x583.png 1024w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-37-15-768x437.png 768w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-37-15-696x396.png 696w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-37-15-1068x608.png 1068w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-37-15-737x420.png 737w\" sizes=\"auto, (max-width: 1257px) 100vw, 1257px\" \/><figcaption id=\"caption-attachment-5258\" class=\"wp-caption-text\">Applications for this user<\/figcaption><\/figure>\n<figure id=\"attachment_5283\" aria-describedby=\"caption-attachment-5283\" style=\"width: 1358px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5283 size-full\" src=\"https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-12-45-32.png\" alt=\"\" width=\"1358\" height=\"854\" srcset=\"https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-12-45-32.png 1358w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-12-45-32-600x377.png 600w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-12-45-32-300x189.png 300w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-12-45-32-1024x644.png 1024w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-12-45-32-768x483.png 768w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-12-45-32-696x438.png 696w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-12-45-32-1068x672.png 1068w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-12-45-32-668x420.png 668w\" sizes=\"auto, (max-width: 1358px) 100vw, 1358px\" \/><figcaption id=\"caption-attachment-5283\" class=\"wp-caption-text\">PEP-proxy and IoT-sensor configuration of the application<\/figcaption><\/figure>\n<figure id=\"attachment_5259\" aria-describedby=\"caption-attachment-5259\" style=\"width: 1251px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5259 size-full\" src=\"https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-36-00.png\" alt=\"\" width=\"1251\" height=\"712\" srcset=\"https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-36-00.png 1251w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-36-00-600x341.png 600w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-36-00-300x171.png 300w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-36-00-1024x583.png 1024w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-36-00-768x437.png 768w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-36-00-696x396.png 696w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-36-00-1068x608.png 1068w, https:\/\/www.scapeler.com\/wp-content\/uploads\/2020\/08\/Screenshot-from-2020-08-30-10-36-00-738x420.png 738w\" sizes=\"auto, (max-width: 1251px) 100vw, 1251px\" \/><figcaption id=\"caption-attachment-5259\" class=\"wp-caption-text\">Members of an organization and authorized applications<\/figcaption><\/figure>\n<h1>More information<\/h1>\n<ul>\n<li><a href=\"https:\/\/fiwaretourguide.readthedocs.io\/en\/latest\/security\/introduction\/\" target=\"_blank\" rel=\"noopener noreferrer\">Fiware Identity management<\/a><\/li>\n<li><a href=\"https:\/\/www.mdpi.com\/1424-8220\/20\/15\/4341\/htm\" target=\"_blank\" rel=\"noopener noreferrer\">Evaluation of an IoT Application-Scoped Access Control Model over a Publish\/Subscribe Architecture Based on FIWARE<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>To control and secure applications, web-services and IoT-devices there must be somekind of mechanism to control identity and levels of authorization, we need identity management. FIWARE implemented some services and tools to allow you to manage authentication and authorization in applications and backend services. Identity management concepts The main identity management concepts are: Users Have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"iawp_total_views":3,"footnotes":""},"class_list":["post-5253","page","type-page","status-publish"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.scapeler.com\/index.php\/wp-json\/wp\/v2\/pages\/5253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scapeler.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.scapeler.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.scapeler.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scapeler.com\/index.php\/wp-json\/wp\/v2\/comments?post=5253"}],"version-history":[{"count":11,"href":"https:\/\/www.scapeler.com\/index.php\/wp-json\/wp\/v2\/pages\/5253\/revisions"}],"predecessor-version":[{"id":5285,"href":"https:\/\/www.scapeler.com\/index.php\/wp-json\/wp\/v2\/pages\/5253\/revisions\/5285"}],"wp:attachment":[{"href":"https:\/\/www.scapeler.com\/index.php\/wp-json\/wp\/v2\/media?parent=5253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}