io.rtdi.hanaappserver:hanarealm

Tomcat Hana Realm

Лицензия

Лицензия

Категории

Категории

Realm Данные Базы данных
Группа

Группа

io.rtdi.hanaappserver
Идентификатор

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

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

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

0.8.5
Дата

Дата

Тип

Тип

jar
Описание

Описание

io.rtdi.hanaappserver:hanarealm
Tomcat Hana Realm
Ссылка на сайт

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

https://www.rtdi.io/
Система контроля версий

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

https://github.com/rtdi/hanaappserverrealm

Скачать hanarealm

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

<!-- https://jarcasting.com/artifacts/io.rtdi.hanaappserver/hanarealm/ -->
<dependency>
    <groupId>io.rtdi.hanaappserver</groupId>
    <artifactId>hanarealm</artifactId>
    <version>0.8.5</version>
</dependency>
// https://jarcasting.com/artifacts/io.rtdi.hanaappserver/hanarealm/
implementation 'io.rtdi.hanaappserver:hanarealm:0.8.5'
// https://jarcasting.com/artifacts/io.rtdi.hanaappserver/hanarealm/
implementation ("io.rtdi.hanaappserver:hanarealm:0.8.5")
'io.rtdi.hanaappserver:hanarealm:jar:0.8.5'
<dependency org="io.rtdi.hanaappserver" name="hanarealm" rev="0.8.5">
  <artifact name="hanarealm" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.rtdi.hanaappserver', module='hanarealm', version='0.8.5')
)
libraryDependencies += "io.rtdi.hanaappserver" % "hanarealm" % "0.8.5"
[io.rtdi.hanaappserver/hanarealm "0.8.5"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.apache.tomcat : tomcat-catalina jar 9.0.16
com.sap.cloud.db.jdbc : ngdbc jar 2.4.59

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.13-beta-3

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

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

SAP Hana Application Server Realm

The security foundation for the SAP Hana Application Server

A tomcat realm allows to configure various authentication methods and groups. This HanaRealm is using the SAP Hana database to authenticate, meaning the user is requested in the browser to enter his Hana login and password and if valid, the list of assigned Hana groups is read. Thus tomcat can utilize these group names in the standard way to implement role level security.

Installation

Copy the jar file into tomcat's lib folder so that it can be used in the server configuration.

In the server.xml of the tomcat the realm is configured, with the parameter hanaJDBCURL as the only property to be specified.

	<Server>
	  <Service>
	    <Engine>
	      ...
	      <Realm className="org.apache.catalina.realm.LockOutRealm">
	        <Realm className="io.rtdi.hanaappserver.hanarealm.HanaRealm" hanaJDBCURL="jdbc:sap://hanartdi:39015/HXE"/>
	      </Realm>
	      ...
	    </Engine>
	  </Service>
	</Server>

Alternatively, the environment variable HANAJDBCURL can be set as well. This is especially useful when building docker images.

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

Версия
0.8.5
0.8.4
0.8.3