Java org.apache.shiro.realm.text TextConfigurationRealm fields, constructors, methods, implement or subclass

Example usage for Java org.apache.shiro.realm.text TextConfigurationRealm fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.shiro.realm.text TextConfigurationRealm.

The text is from its open source code.

Subclass

org.apache.shiro.realm.text.TextConfigurationRealm has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voidsetRoleDefinitions(String roleDefinitions)
Sets a newline (\n) delimited String that defines role-to-permission definitions.
voidsetUserDefinitions(String userDefinitions)

Sets a newline (\n) delimited String that defines user-to-password-and-role(s) key/value pairs according to the following format:

username = password, role1, role2,...

Here are some examples of what these lines might look like:

root = reallyHardToGuessPassword, administrator
jsmith = jsmithsPassword, manager, engineer, employee
abrown = abrownsPassword, qa, employee
djones = djonesPassword, qa, contractor
guest = guestPassword