GithubHelp home page GithubHelp logo

shawnmckinney / apache-fortress-demo Goto Github PK

View Code? Open in Web Editor NEW
19.0 5.0 11.0 5.8 MB

Sample web app to demo end-to-end security w/ JavaEE, Spring Security and RBAC fine-grained authorization. All connections use SSL.

License: Apache License 2.0

Java 33.36% HTML 63.84% CSS 2.64% JavaScript 0.16%
apache-fortress role-based-access-control rbac authorization tls tls-certificate ldap-server ldap java-security tomcat

apache-fortress-demo's People

Contributors

dependabot[bot] avatar johnpfield avatar shawnmckinney avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

apache-fortress-demo's Issues

update mysql driver from 5.1.9 to 8.0.16 communication link failure

Accepted github dependabot PR to the latest MySQL JDBC driver has error. Reverting for now, research later.

org.apache.ibatis.exceptions.PersistenceException: 
### Error querying database.  Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link f
ailure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
### The error may exist in page1.xml
### The error may involve com.mycompany.dao.Page1Dao.getPages1ByCustomer
### The error occurred while executing a query
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:26)
        at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:111)
        at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:102)
        at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:119)
        at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:63)
        at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52)

Parameters in the instructions for step IX not in the parameter file

For clarity it might make sense to add

These are the connection parameters used for LDAP service account and used by 'admin' pooled connections:

root.dn=uid=admin,ou=system
port=10389

and

This param tells fortress what type of ldap server in use:

ldap.server.type=apacheds

To the src/main/resources/fortress.properties, even if they're commented out. I'm not going to change this one because I may be misunderstanding the intent.

Unable to pull RC40-Snapshot

Hey Shawn,

Where are you publishing your snapshot releases? I get

[ERROR] Failed to execute goal on project apache-fortress-demo: Could not resolve dependencies for project fortressdemo3:apache-fortress-demo:war:1.0-RC40-SNAPSHOT: Failure to find org.apache.directory:fortress-realm-impl:jar:1.0-RC40-SNAPSHOT in https://ci.psu.edu/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of ci has elapsed or updates are forced -> [Help 1]

When trying to run mvn javadoc:javadoc.

Thanks,
Shawn

fortress-web dependency errors

In attempting to build the java-doc using mvn, I am getting the following error:


[WARNING] The POM for org.apache.directory.fortress:fortress-realm-impl:jar:1.0-RC41-SNAPSHOT is missing, no dependency information available
Downloading: http://repo1.maven.org/maven2/org/apache/directory/fortress/fortress-web/1.0/fortress-web-1.0.pom
Downloading: https://repo.maven.apache.org/maven2/org/apache/directory/fortress/fortress-web/1.0/fortress-web-1.0.pom
[WARNING] The POM for org.apache.directory.fortress:fortress-web:jar:classes:1.0 is missing, no dependency information available
Downloading: http://repo1.maven.org/maven2/org/apache/directory/fortress/fortress-web/1.0/fortress-web-1.0-classes.jar
Downloading: https://repo.maven.apache.org/maven2/org/apache/directory/fortress/fortress-web/1.0/fortress-web-1.0-classes.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.668 s
[INFO] Finished at: 2015-11-04T11:06:27-06:00
[INFO] Final Memory: 16M/89M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project fortress-web: Could not resolve dependencies for project org.apache.directory.fortress:fortress-web:war:1.0-RC41-SNAPSHOT: The following artifacts could not be resolved: org.apache.directory.fortress:fortress-realm-impl:jar:1.0-RC41-SNAPSHOT, org.apache.directory.fortress:fortress-web:jar:classes:1.0: Failure to find org.apache.directory.fortress:fortress-realm-impl:jar:1.0-RC41-SNAPSHOT in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2 has elapsed or updates are forced -> [Help 1]


I attempted to go to the following url: https://repo1.maven.org/maven2/org/apache/directory/fortress/
and 'fortress-core' is the only directory available, 'fortress-web' does not exist.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.