[FrontPage] [TitleIndex] [WordIndex

Credential handling

1. Configuration

The central security configuration file is located at workspace/services/security/security.xml

<?xml version="1.0" encoding="UTF-8"?>
<SecurityConfiguration configVersion="0.6.0" xmlns="http://www.deegree.org/security"
  xsi:schemaLocation="http://www.deegree.org/security http://schemas.deegree.org/webservices/0.6.0/services.xsd"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <CredentialsProvider>
    <DeegreeCredentialsProvider />
  </CredentialsProvider>

</SecurityConfiguration>

1.1. CredentialsProvider

deegree offers different methods of handling credentials. Credentials provider can contain:

1.2. Backend containing credential information

Currently the database containing deegree2 security can be accessed to handle credentials. Therefore a configuration file is required containing the jdbc connection to access deegree2 security DB. Typically the configuration is located at workspace/services/security/authority/secdb.xml

<?xml version="1.0"?>
<Deegree2Authority xmlns="http://www.deegree.org/security/deegree2authority">
  <DatabaseUrl>jdbc:postgresql://localhost:5432/securityDB</DatabaseUrl>
  <DatabaseUsername>DBUSER</DatabaseUsername>
  <DatabasePassword>DBPASSWORD</DatabasePassword>
</Deegree2Authority>


CategoryDeegree3


2018-04-20 12:04