-
Notifications
You must be signed in to change notification settings - Fork 135
Config_Brain_Security
Keith Sterling edited this page Nov 13, 2017
·
10 revisions
security:
authentication:
classname: programy.utils.security.authenticate.passthrough.BasicPassThroughAuthenticationService
denied_srai: AUTHENTICATION_FAILED
authorisation:
classname: programy.utils.security.authorise.usergroupsauthorisor.BasicUserGroupAuthorisationService
denied_srai: AUTHORISATION_FAILED
usergroups: $BOT_ROOT/config/roles.yaml
Name | Description | Example | Default |
---|---|---|---|
classname | Defines the full python path of the class to loaded which implements the base class 'Authenticator' | programy.utils.security.authenticate.passthrough.BasicPassThroughAuthenticationService | None |
denied_srai | If authentication fails, then the interpreter excutes the grammar defined in this setting as an SRAI operation. Your aiml files should contain this as a category pattern with appropraite text showing access denied | AUTHENTICATION_FAILED | None |
denied_text | Rather the specify an SRAI element, specifying this instead results in just the actual text being returned without any further processing | Access Denied | None |
Name | Description | Example | Default |
---|---|---|---|
classname | Defines the full python path of the class to loaded which implements the base class 'Authorisor' | programy.utils.security.authorise.usergroupsauthorisor.BasicUserGroupAuthorisationService | None |
denied_srai | If authorisation fails, then the interpreter excutes the grammar defined in this setting as an SRAI operation. Your aiml files should contain this as a category pattern with appropraite text showing access denied | AUTHORISATION_FAILED | None |
denied_text | Rather the specify an SRAI element, specifying this instead results in just the actual text being returned without any further processing | Access Denied | None |
usergroups | Full path to a Yaml configuration file containing users, groups and roles to use with the authorisation service | $BOT_ROOT/config/roles.yaml | None |
Email: [email protected] | Twitter: @keiffster | Facebook: keith.sterling | LinkedIn: keithsterling | My Blog
- Home
- Background
- Guiding Principles
- Reporting an Issue
- Installation
- You And Your Bot
- Bots
- Clients
- Configuration
- AIML
- Sentence Splitting
- Natural Langauge Processing
- Normalization
- Spelling
- Sentiment Analysis
- Translation
- Security
- Hot Reload
- Logging
- Out of Band
- Multi Language
- RDF Support
- Rich Media
- Asynchronous Events
- Triggers
- External Services
- Dynamic Sets, Maps & Vars
- Extensions
- Pre & Post Processors
- Custom Nodes
- The Brain Tree
- Utilities
- Building It Yourself
- Creating Your Own Bot
- Contributing
- Performance Testing
- FAQ
- History
- Website