Giter Site home page Giter Site logo

casinthecloud's Introduction

Introduction

CAS in the cloud is a full-stacked project to deploy your CAS server in the cloud.

It is based on the CAS server (and CAS management webapp) v5.0.

The tickets are handled via Memcached and the services are defined as JSON files.

Everything is dockerized for the cloud.

Installation

Hosts

You need to locally add the cas-server and cas-management hosts by updating your /etc/hosts/ file:

127.0.0.1     localhost     cas-server     cas-management

Build the CAS webapps

You can build the CAS webapps via the following command at the root directory: ./package.sh

Launch CAS in the cloud

You can run the CAS stack using the following command at the root directory: docker-compose up.

The CAS server is available on the following URL: http://cas-server:8080/login. You can login using leleuj/leleuj or jleleu/jleleu, but of course, the default authentication handler MUST be changed.

The CAS management webapp is available on the following URL: http://cas-management:8081.

casinthecloud's People

Contributors

leleuj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

casinthecloud's Issues

Invalid Credentials

Hi!

Thanks so much for putting this together. I'm just in the process of getting this all to work locally. I ran ./package.sh and then docker-compose up (I've chosen to use the compose file with cas management). Everything starts up as expected. I've added the necessary lines to my hosts file and then navigate to http://cas-server:8080/

As expected, I'm redirected to http://cas-server:8080/login and can see the sign in screen.

Upon trying either of the recommended user/pass combinations;

i.e.

u: leleuj
p: leleuj

or

u: jleleu
p: jleleu

CAS tells me I have invalid credentials.

Also, in the container logs, I see

017-12-05 20:20:42,392 ERROR [org.apereo.cas.web.flow.AuthenticationExceptionHandler] - <Unable to translate handler errors of the authentication exception org.apereo.cas.authentication.AuthenticationException: 0 errors, 0 successes. Returning UNKNOWN by default...>

I'm almost certainly being stupid, but can you let me know, just for my local testing environment, how I could set up some very simple username/password sign in (Ideally I'd like custom properties but I can hopefully work that out after I have the simple username/password working)

Thanks again!

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.