You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: picketlink-federation-saml-sp-post-basic/README.md
+52-10
Original file line number
Diff line number
Diff line change
@@ -39,12 +39,12 @@ Configure Maven
39
39
40
40
If you have not yet done so, you must [Configure Maven](http://www.jboss.org/jdf/quickstarts/jboss-as-quickstart/#configure_maven) before testing the quickstarts.
41
41
42
-
Create the Security Domain
42
+
Create the Security Domain for JBoss EAP
43
43
---------------
44
44
45
45
These steps assume you are running the server in standalone mode and using the default standalone.xml supplied with the distribution.
46
46
47
-
You configure the security domain by running JBoss CLI commands. For your convenience, this quickstart batches the commands into a `configure-security-domain.cli` script provided in the root directory of this quickstart.
47
+
You configure the security domain by running JBoss CLI commands. For your convenience, this quickstart batches the commands into a `configure-security-domain-eap.cli` script provided in the root directory of this quickstart.
48
48
49
49
1. Before you begin, back up your server configuration file
50
50
* If it is running, stop the JBoss server.
@@ -55,21 +55,52 @@ You configure the security domain by running JBoss CLI commands. For your conven
55
55
56
56
For Linux: JBOSS_HOME/bin/standalone.sh
57
57
For Windows: JBOSS_HOME\bin\standalone.bat
58
-
3. Review the `configure-security-domain.cli` file in the root of this quickstart directory. This script adds the `sp` domain to the `security` subsystem in the server configuration and configures authentication access. Comments in the script describe the purpose of each block of commands.
58
+
3. Review the `configure-security-domain-eap.cli` file in the root of this quickstart directory. This script adds the `sp` domain to the `security` subsystem in the server configuration and configures authentication access. Comments in the script describe the purpose of each block of commands.
59
59
60
60
4. Open a new command prompt, navigate to the root directory of this quickstart, and run the following command, replacing JBOSS_HOME with the path to your server:
You should see the following result when you run the script:
65
+
66
+
The batch executed successfully
67
+
{
68
+
"outcome" => "success",
69
+
}
70
+
71
+
72
+
Create the Security Domain for WildFly
73
+
---------------
74
+
75
+
These steps assume you are running the server in standalone mode and using the default standalone.xml supplied with the distribution.
76
+
77
+
You configure the security domain by running JBoss CLI commands. For your convenience, this quickstart batches the commands into a `configure-security-domain-wildfly.cli` script provided in the root directory of this quickstart.
78
+
79
+
1. Before you begin, back up your server configuration file
80
+
* If it is running, stop the JBoss server.
81
+
* Backup the file: `JBOSS_HOME/standalone/configuration/standalone.xml`
82
+
* After you have completed testing this quickstart, you can replace this file to restore the server to its original configuration.
83
+
84
+
2. Start the JBoss server by typing the following:
85
+
86
+
For Linux: JBOSS_HOME/bin/standalone.sh
87
+
For Windows: JBOSS_HOME\bin\standalone.bat
88
+
3. Review the `configure-security-domain-wildfly.cli` file in the root of this quickstart directory. This script adds the `sp` domain to the `security` subsystem in the server configuration and configures authentication access. Comments in the script describe the purpose of each block of commands.
89
+
90
+
4. Open a new command prompt, navigate to the root directory of this quickstart, and run the following command, replacing JBOSS_HOME with the path to your server:
If you want to review and understand newly added XML configuration, stop the JBoss server and open the `JBOSS_HOME/standalone/configuration/standalone.xml` file.
@@ -84,6 +115,17 @@ The following `sp` security-domain was added to the `security` subsystem.
84
115
85
116
The configuration above defines a security-domain which will be used by the SP to authenticate users based on a SAML Assertion previously issued by a Identity Provider.
86
117
118
+
Review the Modified Server Configuration for WildFly
119
+
-----------------------------------
120
+
121
+
If you are using Wildfly, the security-domain should have the following configuration:
# Batch script to add and configure the quickstart-domain security domain in the JBoss server
2
+
3
+
# Start batching commands
4
+
batch
5
+
6
+
# Add and configure the security domain, then add the PicketLink SAML2LoginModule. Which wil be used to extract user's information from the SAML Assertion and authenticate the user.
Copy file name to clipboardexpand all lines: picketlink-federation-saml-sp-post-with-signature/README.md
+52-10
Original file line number
Diff line number
Diff line change
@@ -39,12 +39,12 @@ Configure Maven
39
39
40
40
If you have not yet done so, you must [Configure Maven](http://www.jboss.org/jdf/quickstarts/jboss-as-quickstart/#configure_maven) before testing the quickstarts.
41
41
42
-
Create the Security Domain
42
+
Create the Security Domain for JBoss EAP
43
43
---------------
44
44
45
45
These steps assume you are running the server in standalone mode and using the default standalone.xml supplied with the distribution.
46
46
47
-
You configure the security domain by running JBoss CLI commands. For your convenience, this quickstart batches the commands into a `configure-security-domain.cli` script provided in the root directory of this quickstart.
47
+
You configure the security domain by running JBoss CLI commands. For your convenience, this quickstart batches the commands into a `configure-security-domain-eap.cli` script provided in the root directory of this quickstart.
48
48
49
49
1. Before you begin, back up your server configuration file
50
50
* If it is running, stop the JBoss server.
@@ -55,21 +55,52 @@ You configure the security domain by running JBoss CLI commands. For your conven
55
55
56
56
For Linux: JBOSS_HOME/bin/standalone.sh
57
57
For Windows: JBOSS_HOME\bin\standalone.bat
58
-
3. Review the `configure-security-domain.cli` file in the root of this quickstart directory. This script adds the `sp` domain to the `security` subsystem in the server configuration and configures authentication access. Comments in the script describe the purpose of each block of commands.
58
+
3. Review the `configure-security-domain-eap.cli` file in the root of this quickstart directory. This script adds the `sp` domain to the `security` subsystem in the server configuration and configures authentication access. Comments in the script describe the purpose of each block of commands.
59
59
60
60
4. Open a new command prompt, navigate to the root directory of this quickstart, and run the following command, replacing JBOSS_HOME with the path to your server:
You should see the following result when you run the script:
65
+
66
+
The batch executed successfully
67
+
{
68
+
"outcome" => "success",
69
+
}
70
+
71
+
72
+
Create the Security Domain for WildFly
73
+
---------------
74
+
75
+
These steps assume you are running the server in standalone mode and using the default standalone.xml supplied with the distribution.
76
+
77
+
You configure the security domain by running JBoss CLI commands. For your convenience, this quickstart batches the commands into a `configure-security-domain-wildfly.cli` script provided in the root directory of this quickstart.
78
+
79
+
1. Before you begin, back up your server configuration file
80
+
* If it is running, stop the JBoss server.
81
+
* Backup the file: `JBOSS_HOME/standalone/configuration/standalone.xml`
82
+
* After you have completed testing this quickstart, you can replace this file to restore the server to its original configuration.
83
+
84
+
2. Start the JBoss server by typing the following:
85
+
86
+
For Linux: JBOSS_HOME/bin/standalone.sh
87
+
For Windows: JBOSS_HOME\bin\standalone.bat
88
+
3. Review the `configure-security-domain-wildfly.cli` file in the root of this quickstart directory. This script adds the `sp` domain to the `security` subsystem in the server configuration and configures authentication access. Comments in the script describe the purpose of each block of commands.
89
+
90
+
4. Open a new command prompt, navigate to the root directory of this quickstart, and run the following command, replacing JBOSS_HOME with the path to your server:
If you want to review and understand newly added XML configuration, stop the JBoss server and open the `JBOSS_HOME/standalone/configuration/standalone.xml` file.
@@ -84,6 +115,17 @@ The following `sp` security-domain was added to the `security` subsystem.
84
115
85
116
The configuration above defines a security-domain which will be used by the SP to authenticate users based on a SAML Assertion previously issued by a Identity Provider.
86
117
118
+
Review the Modified Server Configuration for WildFly
119
+
-----------------------------------
120
+
121
+
If you are using Wildfly, the security-domain should have the following configuration:
# Batch script to add and configure the quickstart-domain security domain in the JBoss server
2
+
3
+
# Start batching commands
4
+
batch
5
+
6
+
# Add and configure the security domain, then add the PicketLink SAML2LoginModule. Which wil be used to extract user's information from the SAML Assertion and authenticate the user.
0 commit comments