Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Namespace

useradmin="urn:se.viamap.useradmin#1.0

Tags

config

This is the base configuration for the User Administration extension that other components may be depending on.

Properties

Name

Type

Required

Description

datasource

string

yes

Reference the JDBC data source connected to the User Administration database

schema

string

no

Specify a custom schema. If not specified, the default schema of the database will be used

includePublishedClients

boolean

no

If true, published Weave clients will be displayed in the User Dashboard. Defaults to true.

enableLdap

boolean

no

If true, LDAP tools will be enabled for administrators. The LDAP tools include managing LDAP connections (only system administrators) and adding users from defined LDAP directories.

admin

List<string>

no

A list of usernames who should be treated as system administrators.

client

The client configuration is used to create custom urls to clients or other resources.

Properties

Name

Type

Required

Description

title

string

yes

The title of the client

description

string

no

Description of the client

url

string

yes

The url to the client

iconCls

string

no

Optional icon class

acl

string

no

Optional ACL reference to limit user access

  	<useradmin:config id="ikartan.context">
		<datasource>ds.weave</datasource>
		<schema>useradmin</schema>
		<includePublishedClients>true</includePublishedClients>
		<enableLdap>false</enableLdap>
		<admin>
		<user>admin</user>
		</admin>
	</useradmin:config>

Namespace

urn:urn:se.viamap.useradmin.userattributes#1.0

The User Attribute configuration integrates the User Attributes setup in User Admin and apply the appropriate Attributes on Users.

Tags

config

Properties

Name

Type

Required

Description

cache

boolean

no

If true, User Attributes will be cached. Defaults to true.

expire

number

no

Cache expiration in seconds (assumes cache is true), defaults to 300

prefix

string

no

Set a prefix for user attributes, i.e. myprefix will result in user.myprefix.theParameterName

Example

<config xmlns:ikartan=	"urn:se.viamap.ikartan.admin#1.0"
	xmlns:userattr=	"urn:se.viamap.useradmin.userattributes#1.0">

  <ikartan:config id="ikartan.context">
    <datasource>ds.weave</datasource>
    <schema>useradmin</schema>
    <includePublishedClients>true</includePublishedClients>
    <enableLdap>true</enableLdap>
    <admin>
      <user>admin</user>
    </admin>
    </ikartan:config>
  
  <ikartan:client acl="acl.admin">
    <iconCls>x-fa fa-wrench</iconCls>
    <title>Weave Admin</title>
    <description>Administer and monitor Weave</description>
    <url>admin.html</url>
  </ikartan:client>
  
  <userattr:config>
    <cache>false</cache> <!-- enable/disable cache, defaults to true -->
    <expire>300</expire> <!-- Cache expiration in seconds (assumes cache is true), defaults to 300 -->
    <!--<prefix>myprefix</prefix>--> <!-- Set a prefix for user attributes, i.e. myprefix will result in user.myprefix.theParameterName -->
  </userattr:config>
  
</config>
  • No labels