...
Parameter |
---|
summary | Path to the keystore holding the certificates |
---|
name | keystorePath |
---|
required | true |
---|
|
Parameter |
---|
summary | password to the keystore |
---|
name | keystorePassword |
---|
required | true |
---|
|
Parameter |
---|
summary | Password to the keys in the keystore |
---|
name | privateKeyPassword |
---|
required | true |
---|
|
Parameter |
---|
summary | If true, the identityProviderMetadataPath receives the path to an XML file. If false, the identityProviderMetadataPath receives a web url to find the xml file with the information of de IDP. |
---|
name | useFileSystem |
---|
required | true |
---|
|
Parameter |
---|
summary | Path to the identity provider, provided by the SAML Service |
---|
name | identityProviderMetadataPath |
---|
required | true |
---|
|
Parameter |
---|
summary | Server url of the Saga Server. Called by the authentication provider |
---|
name | serverURL |
---|
required | true |
---|
|
Parameter |
---|
summary | The time out in seconds for the SAML server to provide an answer. |
---|
default | 3600 |
---|
name | timeOut |
---|
required | true |
---|
|
Parameter |
---|
summary | Each value correspond to a field of the IDP that must be mapped to a new variable name. For example http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name mapped to a key called username. |
---|
name | mappedAttributes |
---|
required | true |
---|
|
- This will be used to generate the callback url which is form like this <Server_URL>/saga/auth/callback
Note |
---|
You need to add the callback url (e.g. http://localhost:8080)/saga/auth/callback or https://localhost:443/saga/auth/callback) to your Authentication provider |
Parameter |
---|
summary | Attribute to use as the user ID |
---|
name | nameIdAttribute |
---|
|
Without FileSystem:
Saga_json |
---|
"security": {
"enable": true,
"inactiveIntervalenable": 600true,
"encryptionKeyFile" : "./bin/saga.ek",
"inactiveInterval": 600,
"defaultRoletype": "adminsaml",
"typedefaultRole": "samladmin",
"saml": {
"keystorePath": "configbin/samlKeystore.jks",
"keystorePassword": "samlKeystorepac4j-demo-passwd",
"privateKeyPassword": "samlKeystorepac4j-demo-passwd",
"useFileSystem": false,
"identityProviderMetadataPath": "confighttps://your.provider.com/identityProvider.xml",
"serverURL": "httpshttp://your_server_url_here"localhost:8080",
"timeOut": 86400,
"nameIdAttribute": "nameId",
"mappedAttributes": {
"username": "field.name",
"http://schemas.microsoft.com/identity/claims/identityprovider"
"displayName": "field.displayname",
"email": "field.emailaddress",
"id": "field.objectidentifier"
}
}
}, |
![](/download/attachments/808388949/image2022-4-28_13-11-19.png?version=1&modificationDate=1651173079925&api=v2)
...
Login Methods
Currently Saga Server has 3 methods to login, (besides the login of SAML)
...