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: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,12 +77,12 @@ The toolkit is hosted on github. You can download it from:
77
77
#### Maven
78
78
The toolkit is hosted at [Sonatype OSSRH (OSS Repository Hosting)](http://central.sonatype.org/pages/ossrh-guide.html) that is synced to the Central Repository.
79
79
80
-
Install it as a maven dependecy:
80
+
Install it as a maven dependency:
81
81
```
82
82
<dependency>
83
83
<groupId>com.onelogin</groupId>
84
84
<artifactId>java-saml</artifactId>
85
-
<version>2.2.0</version>
85
+
<version>2.3.0</version>
86
86
</dependency>
87
87
```
88
88
@@ -123,7 +123,7 @@ For more info, open and read the different pom.xml files:
123
123
## Working with the github repository code and Eclipse.
124
124
### Get the toolkit.
125
125
The toolkit is hosted on github. You can download it from:
### Adding java-saml toolkit components as a project
@@ -132,7 +132,7 @@ The toolkit is hosted on github. You can download it from:
132
132
3. File > Import > Maven : Existing Maven Projects > Select the path where the toolkit folder of the Java Toolkit is *<path>/java-saml/toolkit*, resolve the Workspace project and select the pom.xml
133
133
134
134
### Adding the java-saml-tookit-jspsample as a project
135
-
1. File > Import > Maven : Existing Maven Projects > Select the path where the core folder of the Java Toolkit is *<path>/java-saml/samples/java-saml-tookit-jspsample*, resolve the Wordkspace project and select the pom.xml
135
+
1. File > Import > Maven : Existing Maven Projects > Select the path where the core folder of the Java Toolkit is *<path>/java-saml/samples/java-saml-tookit-jspsample*, resolve the Workspace project and select the pom.xml
136
136
137
137
### Deploy the java-saml-tookit-jspsample
138
138
@@ -153,7 +153,7 @@ In the repo, at *src/main/java* you will find the source; at *src/main/resources
153
153
154
154
155
155
#### toolkit (com.onelogin:java-saml) ####
156
-
This folder contains a maven project with the Auth class to handle the low level classes of java-saml-core and the ServletUtils class to handle javax.servlet.http objetcs, used on the Auth class.
156
+
This folder contains a maven project with the Auth class to handle the low level classes of java-saml-core and the ServletUtils class to handle javax.servlet.http objects, used on the Auth class.
157
157
In the repo, at *src/main/java* you will find the source and at *src/test/java* the junit tests for the classes Auth and ServletUtils.
It is possible to build settings programatically. You can load your values from different sources such as files, databases, or generated values.
350
+
It is possible to build settings programmatically. You can load your values from different sources such as files, databases, or generated values.
351
351
352
352
The `SettingsBuilder` class exposes the method `fromValues(Map<String, Object> samlData)` which let you build your settings dynamically. The `key` strings are the same from the *Properties file*
353
353
```java
@@ -498,7 +498,7 @@ With this method we get a Map with all the user data provided by the IdP in the
498
498
"groups": ["users", "members"]
499
499
}
500
500
```
501
-
Each attribute name can be used as a key to obtain the value. Every attribute is a list of values. A single-valued attribute is a listy of a single element.
501
+
Each attribute name can be used as a key to obtain the value. Every attribute is a list of values. A single-valued attribute is a list of a single element.
502
502
503
503
Before trying to get an attribute, check that the user is authenticated. If the user isn't authenticated, an empty Map will be returned. For example, if we call to getAttributes before a auth.processResponse, the getAttributes() will return an empty Map.
0 commit comments