Skip to content

Commit

Permalink
Merge pull request #46 from DorsetDigital/docs-update-apr-6
Browse files Browse the repository at this point in the history
Update yml snippets to use quoted values
  • Loading branch information
GuySartorelli authored Apr 6, 2023
2 parents de6c24e + ae5de66 commit d938b37
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/en/developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ SilverStripe\SAML\Extensions\SAMLMemberExtension:

### GUID Transformation

If you prefer to receive the GUID in lower-case or upper-case format you can use the
If you prefer to receive the GUID in lower-case or upper-case format you can use the
`updateGuid()` extension point on `\SilverStripe\SAML\Control\SAMLController`.

## Establish trust
Expand Down Expand Up @@ -185,7 +185,7 @@ SilverStripe\Core\Injector\Injector:
SilverStripe\Security\Security:
properties:
Authenticators:
default: %$SilverStripe\SAML\Authenticators\SAMLAuthenticator
default: '%$SilverStripe\SAML\Authenticators\SAMLAuthenticator'
```

**Note:** to prevent locking yourself out if using the LDAP module as well, before you remove the "MemberAuthenticator" make sure you map at least one LDAP group to the SilverStripe `Administrator` Security Group. Consult [CMS usage docs](usage.md) for how to do it.
Expand All @@ -199,7 +199,7 @@ SilverStripe\Core\Injector\Injector:
SilverStripe\Security\Security:
properties:
authenticators:
default: %$SilverStripe\SAML\Authenticators\SAMLAuthenticator
default: '%$SilverStripe\SAML\Authenticators\SAMLAuthenticator'
```

You can enable the middleware like so:
Expand All @@ -209,7 +209,7 @@ SilverStripe\Core\Injector\Injector:
SilverStripe\Control\Director:
properties:
Middlewares:
SAMLMiddleware: %$SilverStripe\SAML\Middleware\SAMLMiddleware
SAMLMiddleware: '%$SilverStripe\SAML\Middleware\SAMLMiddleware'
SilverStripe\SAML\Middleware\SAMLMiddleware:
enabled: true
```
Expand Down

0 comments on commit d938b37

Please sign in to comment.