-
Notifications
You must be signed in to change notification settings - Fork 135
Config_Brain_Security
Keith Sterling edited this page Feb 21, 2019
·
10 revisions
security:
authentication:
classname: programy.utils.security.authenticate.passthrough.BasicPassThroughAuthenticationService
denied_srai: AUTHENTICATION_FAILED
denied_text: Access denied
authorisation:
classname: programy.utils.security.authorise.usergroupsauthorisor.BasicUserGroupAuthorisationService
denied_srai: AUTHORISATION_FAILED
denied_text: You are not authorised to ask that
usergroups: $BOT_ROOT/config/roles.yaml
- classname - Defines the full python path of the class to loaded which implements the base class 'Authenticator', defaults to programy.utils.security.authenticate.passthrough.BasicPassThroughAuthenticationService
- 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. Default is AUTHENTICATION_FAILED
- denied_text - Rather the specify an SRAI element, specifying this instead results in just the actual text being returned without any further processing, default is Access Denied
- classname - Defines the full python path of the class to loaded which implements the base class 'Authorisor'. Default value is programy.utils.security.authorise.usergroupsauthorisor.BasicUserGroupAuthorisationService
- 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. Default is AUTHORISATION_FAILED
- denied_text - Rather the specify an SRAI element, specifying this instead results in just the actual text being returned without any further processing. If missing defaults to Access Denied
- usergroups - Full path to a Yaml configuration file containing users, groups and roles to use with the authorisation service
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