This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
documentation:software:webapi:basic_security [2018/03/19 18:01] frank_defalco |
documentation:software:webapi:basic_security [2019/01/18 21:10] t-abdul-basser Removed reference to security.enabled, added security.provider as per |
||
---|---|---|---|
Line 11: | Line 11: | ||
<code> | <code> | ||
- | <security.enabled>true</security.enabled> | + | <security.provider>AtlasRegularSecurity</security.provider> |
<security.origin>*</security.origin> | <security.origin>*</security.origin> | ||
<security.db.datasource.url>jdbc:postgresql://localhost:5432/ohdsi</security.db.datasource.url> | <security.db.datasource.url>jdbc:postgresql://localhost:5432/ohdsi</security.db.datasource.url> | ||
Line 43: | Line 43: | ||
</code> | </code> | ||
- | Next you will need to insert a sample record that will contain our demonstration username and password. The password is encrypted using BCrypt. You can create your own username and password or use the sample insert statement provided below where we have already encrypted the password 'ohdsi' for the user named 'ohdsi'. | + | Next you will need to insert a sample record that will contain our demonstration username and password. The password is encrypted using BCrypt. You can create your own username and password or use the sample insert statement provided below where we have already encrypted the password 'ohdsi' for the user named 'ohdsi'. To create a different password hash using BCrypt you can use the following web site: |
+ | |||
+ | https://www.dailycred.com/article/bcrypt-calculator | ||
+ | |||
+ | And then put that password hash into the statement below. | ||
<code> | <code> | ||
Line 95: | Line 99: | ||
</code> | </code> | ||
- | Now by logging out and logging back in to ATLAS you should be granted administrative rights across the system. | + | Now by logging out and logging back in to ATLAS you should be granted administrative rights across the system. You will then be able to manage other permissions from the 'Manage permissions' section found in the configuration tab. |