directory-fortress-core | Mirror of Apache Directory Fortress Core | Runtime Evironment library
kandi X-RAY | directory-fortress-core Summary
kandi X-RAY | directory-fortress-core Summary
Mirror of Apache Directory Fortress Core
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Executes the task
- Update configuration node
- Add a new configuration node
- This method checks the validity of a suffix entity
- Initialize the 3D properties
- Get a list property value
- Get the default TLS protocols
- Add an active role to the session
- Add DSDs into the cache
- Returns a string representation of this object
- Checks whether a user is assigned to a user
- Checks whether the context is granted
- Returns a string representation of this policy object
- Returns a String representation of this session object
- Adds an inheritance role
- Checks if a user can assign a role
- Checks access to the given context
- Adds a RoleConstraint to a UserRole
- Adds a descendant role
- Returns true if the context is Revoke
- Returns a list of users matching the specified search value
- Initialize the external properties
- Update a role
- Validates the role
- Deletes a role
- Delete an ORG unit
directory-fortress-core Key Features
directory-fortress-core Examples and Code Snippets
cp FORTRESS_HOME/ldap/schema/fortress.schema OPENLDAP_HOME/etc/openldap/schema
vi OPENLDAP_HOME/etc/openldap/slapd.conf
include OPENLDAP_HOME/etc/openldap/schema/fortress.schema
moduleload ppolicy.la
moduleload accesslog.la
# Default DB Settin
mvn -Pconsole test
CHOOSE FUNCTION:
1. RBAC ADMIN MANAGER
2. RBAC REVIEW MANAGER
3. RBAC ACCESS MANAGER
4. ARBAC ADMIN MANAGER
5. ARBAC REVIEW MANAGER
6. ARBAC ACCESS MANAGER
7. PASSWORD POLICY MANAGER
8. AUDIT MANAGER
9. CONFIG MANAGER
A. ENCRYPTIO
cp build.properties.example build.properties
cp slapd.properties.example slapd.properties
vi slapd.properties
ldap.server.type=openldap
host=localhost
port=389
suffix.name=example
suffix.dc=com
suffix.name=foo
suffix.dc=example
suffix.dc2=com
Community Discussions
Trending Discussions on directory-fortress-core
QUESTION
I am new in ldap enviromnet and I am trying to set up the apache fortress with symas openldap (https://github.com/apache/directory-fortress-core/blob/master/README-QUICKSTART-SLAPD.md)
When I set up with ldap, all the integration tests pass succesfully but when I set the ldaps it throws an handshake error.
Does someone now where I have to set all the client and server certificates because setting up as the repository README, it is not possible
...ANSWER
Answered 2020-Feb-07 at 19:27Using TLS or LDAPS for the connection to the LDAP server does not require a client-side certificate. You will need to create a server-side cert for the LDAP host, and add that to the OpenLDAP configuration. You also must add that server's CA certificate to the Java truststore on the client-side, i.e. the fortress runtime.
For a tutorial on how to accomplish this, checkout the Apache Fortress Demo. (Note that I am the author of this demo.)
This tutorial's scope goes beyond just creating and using certificates. The specific steps you're going to be interested in are:
- http://shawnmckinney.github.io/apache-fortress-demo/apidocs/doc-files/keys.html
- http://shawnmckinney.github.io/apache-fortress-demo/apidocs/doc-files/hosts.html
- http://shawnmckinney.github.io/apache-fortress-demo/apidocs/doc-files/openldap-ssl.html
- http://shawnmckinney.github.io/apache-fortress-demo/apidocs/doc-files/apache-fortress-core-ssl.html
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install directory-fortress-core
Clone the SNAPSHOT:
or by specific version, e.g. 2.0.7
Set Java and Maven home on machines.
From the FORTRESS_HOME root folder, enter the following command:
From the FORTRESS_HOME root folder, enter the following command:
View the generated document here: ./target/site/apidocs/overview-summary.html.
The Apache Fortress pom.xml may run without connection to Internet iff its dependencies are already present in local or intermediate maven repo.
Running mvn install calls out to maven-ant init-fortress-config task in build.xml to regenerate configuration artifacts (more info here: README-CONFIG).
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page