Skip navigation links
A B C D E F G H I J L M O P Q R S U V 

A

add(String, String) - Method in class br.eti.arthurgregorio.shiroee.config.http.HttpSecurityBuilder
Method used to add rules to this builder
add(String, String, boolean) - Method in class br.eti.arthurgregorio.shiroee.config.http.HttpSecurityBuilder
Method used to add rules to this builder when need to be authenticated to be accessed
ANONYMOUS_OP - Static variable in interface br.eti.arthurgregorio.shiroee.config.Constants
 
asToken() - Method in class br.eti.arthurgregorio.shiroee.auth.Credential
 
AUTHENTICATED_OP - Static variable in interface br.eti.arthurgregorio.shiroee.config.Constants
 
authenticationIsNeeded() - Method in class br.eti.arthurgregorio.shiroee.auth.Authenticator
 
AuthenticationMechanism<T> - Interface in br.eti.arthurgregorio.shiroee.auth
The definition for creating authentication mechanisms to authenticate users on the realms of Shiro
Authenticator - Class in br.eti.arthurgregorio.shiroee.auth
The basic authenticator, with this class you can authenticate the users and logout them.
Authenticator() - Constructor for class br.eti.arthurgregorio.shiroee.auth.Authenticator
The constructor

B

br.eti.arthurgregorio.shiroee.auth - package br.eti.arthurgregorio.shiroee.auth
 
br.eti.arthurgregorio.shiroee.config - package br.eti.arthurgregorio.shiroee.config
 
br.eti.arthurgregorio.shiroee.config.http - package br.eti.arthurgregorio.shiroee.config.http
 
br.eti.arthurgregorio.shiroee.config.jdbc - package br.eti.arthurgregorio.shiroee.config.jdbc
 
br.eti.arthurgregorio.shiroee.config.ldap - package br.eti.arthurgregorio.shiroee.config.ldap
 
br.eti.arthurgregorio.shiroee.config.messages - package br.eti.arthurgregorio.shiroee.config.messages
 
br.eti.arthurgregorio.shiroee.realm - package br.eti.arthurgregorio.shiroee.realm
 
build() - Method in class br.eti.arthurgregorio.shiroee.config.http.HttpSecurityBuilder
With this method you can retrieve the rules created in the execution of this builder

C

configuration - Variable in class br.eti.arthurgregorio.shiroee.config.http.HttpSecurityBuilder
 
ConfigurationFactory - Class in br.eti.arthurgregorio.shiroee.config
The configuration factory.
configureHttpSecurity() - Method in interface br.eti.arthurgregorio.shiroee.config.HttpSecurityConfiguration
Configure the http security builder to use in conjunction with the main configuration to build the FilterChainResolver
configureRealms() - Method in interface br.eti.arthurgregorio.shiroee.config.RealmConfiguration
This method define the Shiro set of Realm to be used to authenticate users
configureSecurityManager() - Method in class br.eti.arthurgregorio.shiroee.config.DefaultSecurityConfiguration
This method is used to configure the DefaultWebSecurityManager to manage all the other parts of the framework, i.e. the authentication process throug the realms
configureSecurityManager() - Method in interface br.eti.arthurgregorio.shiroee.config.SecurityConfiguration
This method is used to configure the DefaultWebSecurityManager to manage all the other parts of the framework, i.e. the authentication process throug the realms
configurteFilterChainResolver() - Method in class br.eti.arthurgregorio.shiroee.config.DefaultSecurityConfiguration
This method is used to configure the FilterChainResolver for security of the http paths
configurteFilterChainResolver() - Method in interface br.eti.arthurgregorio.shiroee.config.SecurityConfiguration
This method is used to configure the FilterChainResolver for security of the http paths
Constants - Interface in br.eti.arthurgregorio.shiroee.config
All the configurations constants for this library
contextInitialized(ServletContextEvent) - Method in class br.eti.arthurgregorio.shiroee.config.SecurityWebListener
createEnvironment(ServletContext) - Method in class br.eti.arthurgregorio.shiroee.config.SecurityWebListener
Credential - Class in br.eti.arthurgregorio.shiroee.auth
The credential, this class is only a DTO to use on the authentication process.
Credential() - Constructor for class br.eti.arthurgregorio.shiroee.auth.Credential
 

D

DatabaseAuthenticationMechanism - Class in br.eti.arthurgregorio.shiroee.auth
Basic implementation for authenticate users with local accounts on the database.
DatabaseAuthenticationMechanism(UserDetailsProvider) - Constructor for class br.eti.arthurgregorio.shiroee.auth.DatabaseAuthenticationMechanism
Constructor, initialize the mechanism of authentication with the UserDetailsProvider implementation
DefaultLdapUserProvider - Class in br.eti.arthurgregorio.shiroee.config.ldap
The default implementation for LdapUserProvider.
DefaultLdapUserProvider(String, String) - Constructor for class br.eti.arthurgregorio.shiroee.config.ldap.DefaultLdapUserProvider
Constructor...
DefaultLdapUserProvider(String, String, LdapContextFactory) - Constructor for class br.eti.arthurgregorio.shiroee.config.ldap.DefaultLdapUserProvider
Constructor...
DefaultSecurityConfiguration - Class in br.eti.arthurgregorio.shiroee.config
The main class of this library.
DefaultSecurityConfiguration() - Constructor for class br.eti.arthurgregorio.shiroee.config.DefaultSecurityConfiguration
The constructor, retrieve the configuration and build the basic configuration for the WebSecurityManager and the FilterChainResolver
doGetAuthenticationInfo(AuthenticationToken) - Method in class br.eti.arthurgregorio.shiroee.realm.JdbcSecurityRealm
doGetAuthorizationInfo(PrincipalCollection) - Method in class br.eti.arthurgregorio.shiroee.realm.JdbcSecurityRealm

E

EmptyAuthenticationMechanism - Class in br.eti.arthurgregorio.shiroee.auth
A empty authentication mechanism to use when you don't want to bind the LDAP/AD account to a local user to provide the permissions for authorization
EmptyAuthenticationMechanism() - Constructor for class br.eti.arthurgregorio.shiroee.auth.EmptyAuthenticationMechanism
 
EmptyAuthenticationMechanism.EmptyUser - Class in br.eti.arthurgregorio.shiroee.auth
Simple implementation of empty user details done only to not let the authentication process in the LDAP/AD stop
EmptyUser() - Constructor for class br.eti.arthurgregorio.shiroee.auth.EmptyAuthenticationMechanism.EmptyUser
 
encryptPassword(Object) - Method in class br.eti.arthurgregorio.shiroee.auth.PasswordEncoder

F

findUserDetailsByUsername(String) - Method in interface br.eti.arthurgregorio.shiroee.config.jdbc.UserDetailsProvider
Retrieve from a unknow datasource (mostly a database connection) the user account details
format(Object...) - Method in interface br.eti.arthurgregorio.shiroee.config.messages.MessageFormatter
Format the messages with the values provided in this method

G

get() - Static method in class br.eti.arthurgregorio.shiroee.config.ConfigurationFactory
 
getAccount(String) - Method in interface br.eti.arthurgregorio.shiroee.auth.AuthenticationMechanism
Provide the necessary data for the account to the Realm that you want to use for authentication
getAccount(String) - Method in class br.eti.arthurgregorio.shiroee.auth.DatabaseAuthenticationMechanism
Provide the necessary data for the account to the Realm that you want to use for authentication
getAccount(String) - Method in class br.eti.arthurgregorio.shiroee.auth.EmptyAuthenticationMechanism
Provide the necessary data for the account to the Realm that you want to use for authentication
getBuilderOperator() - Method in class br.eti.arthurgregorio.shiroee.config.http.HttpSecurityBuilder
The builder operator to use to construct rules, used by the implementations of this class to format the rules for this builder
getBuilderOperator() - Method in class br.eti.arthurgregorio.shiroee.config.http.PermissionHttpSecurityBuilder
The builder operator to use to construct rules, used by the implementations of this class to format the rules for this builder
getPassword() - Method in class br.eti.arthurgregorio.shiroee.auth.EmptyAuthenticationMechanism.EmptyUser
getPassword() - Method in interface br.eti.arthurgregorio.shiroee.config.jdbc.UserDetails
 
getPermissions(String) - Method in interface br.eti.arthurgregorio.shiroee.auth.AuthenticationMechanism
Provide a list of permissions for the given username
getPermissions(String) - Method in class br.eti.arthurgregorio.shiroee.auth.DatabaseAuthenticationMechanism
Provide a list of permissions for the given username
getPermissions() - Method in class br.eti.arthurgregorio.shiroee.auth.EmptyAuthenticationMechanism.EmptyUser
getPermissions(String) - Method in class br.eti.arthurgregorio.shiroee.auth.EmptyAuthenticationMechanism
Provide a list of permissions for the given username
getPermissions() - Method in interface br.eti.arthurgregorio.shiroee.config.jdbc.UserDetails
 
getUserDn(String) - Method in class br.eti.arthurgregorio.shiroee.realm.LdapSecurityRealm
getUsername() - Method in class br.eti.arthurgregorio.shiroee.auth.EmptyAuthenticationMechanism.EmptyUser
getUsername() - Method in interface br.eti.arthurgregorio.shiroee.config.jdbc.UserDetails
 

H

HttpSecurityBuilder - Class in br.eti.arthurgregorio.shiroee.config.http
The http path security builder, with this class you can build rules to secure the access to your URL's
HttpSecurityBuilder() - Constructor for class br.eti.arthurgregorio.shiroee.config.http.HttpSecurityBuilder
The constructor, load the class with the configuration to retrieve the http rules operators and the rules map
HttpSecurityConfiguration - Interface in br.eti.arthurgregorio.shiroee.config
The definition for http security configuration

I

isBlocked() - Method in class br.eti.arthurgregorio.shiroee.auth.EmptyAuthenticationMechanism.EmptyUser
isBlocked() - Method in interface br.eti.arthurgregorio.shiroee.config.jdbc.UserDetails
 
isLdapBindAccount() - Method in class br.eti.arthurgregorio.shiroee.auth.EmptyAuthenticationMechanism.EmptyUser
isLdapBindAccount() - Method in interface br.eti.arthurgregorio.shiroee.config.jdbc.UserDetails
 
isNotBlocked() - Method in interface br.eti.arthurgregorio.shiroee.config.jdbc.UserDetails
 

J

JdbcSecurityRealm - Class in br.eti.arthurgregorio.shiroee.realm
A local realm used to authenticate users with through a database connection providede by using a DatabaseAuthenticationMechanism in cojunction with your implementation of the UserDetailsProvider
JdbcSecurityRealm(AuthenticationMechanism<? extends UserDetails>) - Constructor for class br.eti.arthurgregorio.shiroee.realm.JdbcSecurityRealm
The constructor

L

LDAP_BASE_DN - Static variable in interface br.eti.arthurgregorio.shiroee.config.Constants
 
LDAP_SEARCH_FILTER - Static variable in interface br.eti.arthurgregorio.shiroee.config.Constants
 
LdapSecurityRealm - Class in br.eti.arthurgregorio.shiroee.realm
The base implementation for authenticate users throug a LDAP/AD repository
LdapSecurityRealm(LdapUserProvider, AuthenticationMechanism) - Constructor for class br.eti.arthurgregorio.shiroee.realm.LdapSecurityRealm
The constructor
LdapUser - Class in br.eti.arthurgregorio.shiroee.config.ldap
The details for the user fond on the LDAP/AD
LdapUser() - Constructor for class br.eti.arthurgregorio.shiroee.config.ldap.LdapUser
Constructor, initialize the fields
LdapUserProvider - Interface in br.eti.arthurgregorio.shiroee.config.ldap
The interface for creating a LDAP/AD user provider
login(Credential) - Method in class br.eti.arthurgregorio.shiroee.auth.Authenticator
Login the user by his credentials
logout() - Method in class br.eti.arthurgregorio.shiroee.auth.Authenticator
Logout the current subject
LOGOUT_OP - Static variable in interface br.eti.arthurgregorio.shiroee.config.Constants
 

M

MessageFormatter - Interface in br.eti.arthurgregorio.shiroee.config.messages
Simple formatter for the messages
Messages - Enum in br.eti.arthurgregorio.shiroee.config.messages
The messages value holder to give a better way to inform the user about the failures of the implementaion of this library

O

of(Attributes) - Static method in class br.eti.arthurgregorio.shiroee.config.ldap.LdapUser
Converte a set of Attributes to a single instance of this class

P

PasswordEncoder - Class in br.eti.arthurgregorio.shiroee.auth
The bcryp passord service implementation.
PasswordEncoder() - Constructor for class br.eti.arthurgregorio.shiroee.auth.PasswordEncoder
Constructor...
PasswordEncoder(int) - Constructor for class br.eti.arthurgregorio.shiroee.auth.PasswordEncoder
Constructor...
passwordsMatch(Object, String) - Method in class br.eti.arthurgregorio.shiroee.auth.PasswordEncoder
PermissionHttpSecurityBuilder - Class in br.eti.arthurgregorio.shiroee.config.http
The builder for permission based http path security
PermissionHttpSecurityBuilder() - Constructor for class br.eti.arthurgregorio.shiroee.config.http.PermissionHttpSecurityBuilder
The constructor, from the configuration initialize the default operator
produceLdapUserProvider() - Method in class br.eti.arthurgregorio.shiroee.config.DefaultSecurityConfiguration
Produce the LdapUserProvider for external classes outside of the library.

Q

queryForAuthenticationInfo(AuthenticationToken, LdapContextFactory) - Method in class br.eti.arthurgregorio.shiroee.realm.LdapSecurityRealm
queryForAuthorizationInfo(PrincipalCollection, LdapContextFactory) - Method in class br.eti.arthurgregorio.shiroee.realm.LdapSecurityRealm

R

RealmConfiguration - Interface in br.eti.arthurgregorio.shiroee.config
The definition for the realm configuration
REQUIRED_PERMISSION_OP - Static variable in interface br.eti.arthurgregorio.shiroee.config.Constants
 
REQUIRED_ROLE_OP - Static variable in interface br.eti.arthurgregorio.shiroee.config.Constants
 

S

search(String) - Method in class br.eti.arthurgregorio.shiroee.config.ldap.DefaultLdapUserProvider
The method to call when you need to bind a user in the LDAP/AD repository
search(String) - Method in interface br.eti.arthurgregorio.shiroee.config.ldap.LdapUserProvider
The method to call when you need to bind a user in the LDAP/AD repository
SecurityConfiguration - Interface in br.eti.arthurgregorio.shiroee.config
The definition for configration of Shiro with this library
SecurityFilterActivator - Class in br.eti.arthurgregorio.shiroee.config
A simple http filter to enable security in all paths of the application
SecurityFilterActivator() - Constructor for class br.eti.arthurgregorio.shiroee.config.SecurityFilterActivator
 
SecurityWebListener - Class in br.eti.arthurgregorio.shiroee.config
The base weblistener to put all of this configurations in the correct place
SecurityWebListener() - Constructor for class br.eti.arthurgregorio.shiroee.config.SecurityWebListener
 
setLdapContextFactory(LdapContextFactory) - Method in class br.eti.arthurgregorio.shiroee.config.ldap.DefaultLdapUserProvider
The Shiro LdapContextFactory to use for creating connections to the LDAP/AD repository in this provider
setLdapContextFactory(LdapContextFactory) - Method in interface br.eti.arthurgregorio.shiroee.config.ldap.LdapUserProvider
The Shiro LdapContextFactory to use for creating connections to the LDAP/AD repository in this provider

U

URL_LOGIN - Static variable in interface br.eti.arthurgregorio.shiroee.config.Constants
 
URL_LOGIN_SUCCESS - Static variable in interface br.eti.arthurgregorio.shiroee.config.Constants
 
URL_LOGOUT_PATH - Static variable in interface br.eti.arthurgregorio.shiroee.config.Constants
 
URL_ROOT_SECURED_PATH - Static variable in interface br.eti.arthurgregorio.shiroee.config.Constants
 
URL_UNAUTHORIZED - Static variable in interface br.eti.arthurgregorio.shiroee.config.Constants
 
UserDetails - Interface in br.eti.arthurgregorio.shiroee.config.jdbc
Definition for what details we need from you user account model
UserDetailsProvider - Interface in br.eti.arthurgregorio.shiroee.config.jdbc
The user details provider definition

V

valueOf(String) - Static method in enum br.eti.arthurgregorio.shiroee.config.messages.Messages
Returns the enum constant of this type with the specified name.
values() - Static method in enum br.eti.arthurgregorio.shiroee.config.messages.Messages
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I J L M O P Q R S U V 
Skip navigation links

Copyright © 2018 Arthur Gregorio. All rights reserved.