CAS Mock

Mock CAS Server for use in testing.

Лицензия

Лицензия

Категории

Категории

CLI Взаимодействие с пользователем Eureka Контейнер Микросервисы
Группа

Группа

org.eurekaclinical
Идентификатор

Идентификатор

cas-mock
Последняя версия

Последняя версия

2.4
Дата

Дата

Тип

Тип

war
Описание

Описание

CAS Mock
Mock CAS Server for use in testing.
Ссылка на сайт

Ссылка на сайт

https://github.com/eurekaclinical/cas-mock.git
Организация-разработчик

Организация-разработчик

Emory University
Система контроля версий

Система контроля версий

https://github.com/eurekaclinical/cas-mock.git

Скачать cas-mock

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.eurekaclinical/cas-mock/ -->
<dependency>
    <groupId>org.eurekaclinical</groupId>
    <artifactId>cas-mock</artifactId>
    <version>2.4</version>
    <type>war</type>
</dependency>
// https://jarcasting.com/artifacts/org.eurekaclinical/cas-mock/
implementation 'org.eurekaclinical:cas-mock:2.4'
// https://jarcasting.com/artifacts/org.eurekaclinical/cas-mock/
implementation ("org.eurekaclinical:cas-mock:2.4")
'org.eurekaclinical:cas-mock:war:2.4'
<dependency org="org.eurekaclinical" name="cas-mock" rev="2.4">
  <artifact name="cas-mock" type="war" />
</dependency>
@Grapes(
@Grab(group='org.eurekaclinical', module='cas-mock', version='2.4')
)
libraryDependencies += "org.eurekaclinical" % "cas-mock" % "2.4"
[org.eurekaclinical/cas-mock "2.4"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.eurekaclinical : javautil jar 4.5
com.sun.xml.bind : jaxb-core jar 2.3.0.1
javax.xml.bind : jaxb-api jar 2.3.1
com.sun.xml.bind : jaxb-impl jar 2.3.1

provided (1)

Идентификатор библиотеки Тип Версия
javax.servlet : javax.servlet-api jar 4.0.1

Модули Проекта

Данный проект не имеет модулей.

Mock Eureka! Clinical Central Authentication Service

Georgia Clinical and Translational Science Alliance (Georgia CTSA), Emory University, Atlanta, GA

What does it do?

It provides a mock CAS server for system tests of Eureka! Clinical components. It responds to the following CAS protocol version 2 URLs:

  • /login (it auto authenticates the user as the superuser)
  • /logout
  • /serviceValidate
  • /proxy
  • /proxyValidate

The responses are hard-coded.

Latest release: Latest release

Version 2.1

Support proxy callbacks, which are needed for proxy support to work.

Version 2.0

No feature changes. This release only updates dependencies.

Version 1.0

Initial release. Supports all features of CAS that Eureka! Clinical uses.

Build requirements

Runtime requirements

Building it

The project uses the maven build tool. Typically, you build it by invoking mvn clean install at the command line. For simple file changes, not additions or deletions, you can usually use mvn install. See https://github.com/eurekaclinical/dev-wiki/wiki/Building-Eureka!-Clinical-projects for more details.

Installation

This project is intended for other Eureka! Clinical web applications to depend on it for running in embedded Tomcat. All that is needed is for the tomcat maven plugin to add it as a dependency, and for Eureka! Clinical web applications to use https://localhost:8443/cas-mock as the CAS server URL.

For standalone deployment, do the following:

  1. Stop Tomcat.
  2. Remove any old copies of the unpacked war from Tomcat's webapps directory.
  3. Copy the warfile into the Tomcat webapps directory, renaming it to remove the version. For example, rename cas-mock-1.0.war to cas-mock.war.
  4. Start Tomcat.

Maven dependency

<dependency>
    <groupId>org.eurekaclinical</groupId>
    <artifactId>cas-mock</artifactId>
    <version>version</version>
</dependency>

Developer documentation

Getting help

Feel free to contact us at help@eurekaclinical.org.

org.eurekaclinical

Eureka! Clinical

Microservices for clinical and translational research

Версии библиотеки

Версия
2.4
2.3
2.1
2.1-Beta-1
2.0
1.0
1.0-Alpha-3
1.0-Alpha-2
1.0-Alpha-1