-
Notifications
You must be signed in to change notification settings - Fork 877
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from aistoica/Authentication
[Authentication] Enable security when running tests.
- Loading branch information
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# active profiles config | ||
# | ||
# application use two active profiles | ||
# | ||
# one for select repository layer | ||
# ------------------------------------------------ | ||
# When using HSQL, use: hsqldb | ||
# When using MySQL, use: mysql | ||
# When using PostgeSQL, use: postgresql | ||
# ------------------------------------------------ | ||
# | ||
# one - for select database | ||
# ------------------------------------------------ | ||
# When using Spring jpa, use: jpa | ||
# When using Spring JDBC, use: jdbc | ||
# When using Spring Data JPA, use: spring-data-jpa | ||
# ------------------------------------------------ | ||
|
||
spring.profiles.active=hsqldb,spring-data-jpa | ||
|
||
# ------------------------------------------------ | ||
|
||
server.port=9966 | ||
server.context-path=/petclinic/ | ||
|
||
spring.messages.basename=messages/messages | ||
|
||
logging.level.org.springframework=INFO | ||
#logging.level.org.springframework=DEBUG | ||
|
||
#logging.level.org.hibernate.SQL=DEBUG | ||
#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE | ||
|
||
# enable the desired authentication type | ||
# by default the authentication is disabled | ||
security.ignored=/** | ||
basic.authentication.enabled=true |