This is a reflection of the default application.properties
file included in the distribution. Note that lines beginning with #
are commented out.
For the latest version of this file see https://github.internet2.edu/TIER/shib-idp-ui/blob/master/backend/src/main/resources/application.properties.
Code Block |
---|
# Server Configuration #server.port=8080 # Logging Configuration #logging.config=classpath:log4j2.xml #logging.level.org.springframework.security=INFO logging.level.org.springframework=INFO logging.level.edu.internet2.tier.shibboleth.admin.ui=INFO spring.main.allow-bean-definition-overriding=true # Database Credentials spring.datasource.username=shibui spring.datasource.password=shibui # Database Configuration H2 spring.datasource.url=jdbc:h2:mem:shibui;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE spring.datasource.platform=h2 spring.datasource.driverClassName=org.h2.Driver spring.jpa.database-platform=org.hibernate.dialect.H2Dialect spring.h2.console.enabled=true spring.h2.console.settings.web-allow-others=true # spring.jackson.default-property-inclusion=non_absent spring.jackson.default-property-inclusion=NON_NULL spring.jackson.mapper.accept-case-insensitive-enums=true # Database Configuration PostgreSQL #spring.datasource.url=jdbc:postgresql://localhost:5432/shibui #spring.datasource.driverClassName=org.postgresql.Driver #spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect #Maria/MySQL DB #spring.datasource.url=jdbc:mariadb://localhost:3306/shibui #spring.datasource.driverClassName=org.mariadb.jdbc.Driver #spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDBDialect # Liquibase properties spring.liquibase.enabled=false # Hibernate properties # for production never ever use create, create-drop. It's BEST to use validate spring.jpa.hibernate.ddl-auto=update spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl spring.jpa.show-sql=false spring.jpa.properties.hibernate.format_sql=false spring.jpa.properties.hibernate.check_nullability=true spring.jpa.hibernate.use-new-id-generator-mappings=true #Envers versioning spring.jpa.properties.org.hibernate.envers.store_data_at_delete=true #Needed in the latest versions of Spring Boot when doing manual transaction management like we do in envers versioning code spring.jpa.properties.hibernate.current_session_context_class=org.springframework.orm.hibernate5.SpringSessionContext # Set the following property to periodically write out the generated metadata files. There is no default value; the following is just an example # shibui.metadata-dir=/opt/shibboleth-idp/metadata/generated shibui.logout-url=/dashboard # spring.profiles.active=default ## Default root user can be set in application.yml or here - setting in both places can be undeterministic ## Default password must be set for the default user to be configured and setup #shibui.default-password={noop}somepassword shibui.default-rootuser=root shibui.metadata-sources-ui-schema-location=classpath:metadata-sources-ui-schema.json shibui.entity-attributes-filters-ui-schema-location=classpath:entity-attributes-filters-ui-schema.json shibui.nameid-filter-ui-schema-location=classpath:nameid-filter.schema.json #Actuator endpoints (info) # Un-comment to get full git details exposed like author, abbreviated SHA-1, commit message #management.info.git.mode=full ### # metadata-providers.xml write configuration # Set the following property to periodically write out metadata providers configuration. There is no default value; the following is just an example # The run rate is defined in milliseconds. You will need to configure your Shibboleth IDP to read the produced file # shibui.metadataProviders.target=file:/opt/shibboleth-idp/conf/shibui-metadata-providers.xml # shibui.metadataProviders.taskRunRate=30000 # Email configuration (local mailhog) # spring.mail.host=mailhog # spring.mail.port=1025 # spring.mail.username=username # spring.mail.password=password # spring.mail.properties.mail.smtp.auth=false # spring.mail.properties.mail.smtp.starttls.enable=false shibui.mail.text-email-template-path-prefix=/mail/text/ shibui.mail.html.email-template-path-prefix=/mail/html/ shibui.mail.system-email-address=doNotReply@shibui.org #ShibUIConfiguration slurps in these values and they are bootstrapped in on startup shibui.roles=ROLE_ADMIN,ROLE_ENABLE,ROLE_USER,ROLE_NONE #Authenticated access roles - used by Spring Security to allow access when authenticated shibui.roles.authenticated=ADMIN,ENABLE,USER #In order to enable authentication via configured pac4j library (with external SAMl Idp, for example) #This property must be set to true and pac4j properties configured. For sample pac4j properties, see application.yml #for an example pac4j configuration #shibui.pac4j-enabled=true #This property must be set to true in order to enable posting stats to beacon endpoint. Furthermore, appropriate #environment variables must be set for beacon publisher to be used (the ones that are set when running shib-ui in #docker container shibui.beacon-enabled=true |
...