Policy based access control for SAML IdP
This page describes how to protect a SAML IdP with policies.
Setup steps
Enabling the feature
This function is disabled by default. Follow the steps below to enable it.
- Display the administrator console.
- Move to
FEDERATION
tab ->Target IdP
->Advanced
tab. - Set the following class in the
IDP Adapter Class
.jp.co.osstech.oam.saml2.plugins.PolicyCheckIDPAdapter
Defining a new resource type
- Display the administrator console.
- Move to
Target realm
->Authorization
->Resource Types
. - Enter each parameter and click the
Create
button. You can set any name for theName
(other items are fixed).
Item | Setting |
---|---|
Name | (any) |
Pattern | idpEntityID=*&spEntityID=* |
Action | IssueAssertion |
Defining a new policy set
- Display the administrator console.
- Move to
Target realm
->Authorization
->Policy Sets
. -
Click the
New Provider Policy Set
button. - Enter each parameter and click the
Create
button.
Item | Setting |
---|---|
Id | SAML2ProviderService |
Name | (any) |
Resource Types | (The name of the resource type you created) |
Adding policies to the policy set
- Display
SAML2ProviderService
created in step of Defining a new policy set. - Click the
New Policy
button. -
Enter each parameter and click the
Create
button.Item Setting Name (any) Resource Types (The name of the resource type you created) Resources (Enter entity ID of target IdP and SP) - Set
Actions
,Subjects
, andEnvironments
for the created policy.