A C D E F G I L M O R S U

A

AUTHMETHOD - Static variable in class authentication.Constants
Jméno atributu v session, pod kterým je uložen způsob autentifikace.
ApplicationListener - class authentication.ApplicationListener.
Instance třídy bude naslouchat událostem, které mění stav v životním cyklu JSP aplikace (instance třídy ServletContext.
ApplicationListener() - Constructor for class authentication.ApplicationListener
Vytvoří instanci
AuthenticationFilter - class authentication.AuthenticationFilter.
Filtr provádějící autentifikaci.
AuthenticationFilter() - Constructor for class authentication.AuthenticationFilter
Vytvoří instanci
addRole(String) - Method in class authentication.MyPrincipal
Přidá roli pro uživatele.
authentication - package authentication
 

C

Constants - class authentication.Constants.
Třída s konstantami
Constants() - Constructor for class authentication.Constants
 
closeConnection() - Method in class authentication.UserManager
Uzavře spojení s DB.
contextDestroyed(ServletContextEvent) - Method in class authentication.ApplicationListener
Metoda je zavolána v okamžiku, kdy aplikace ukončuje svoji činnost.
contextInitialized(ServletContextEvent) - Method in class authentication.ApplicationListener
Metoda je zavolána v okamžiku, kdy aplikace zahajuje svoji činnost.
convert(byte[]) - Static method in class authentication.UserManager
Metoda convert i s dokumentací je převzata ze zdrojových textů produktu TomCat (soubor HexUtil.java).

D

Digest(String, String) - Method in class authentication.UserManager
Metoda Digest i s dokumentací je převzata ze zdrojových textů produktu TomCat (soubor RealmBase.java).
destroy() - Method in class authentication.AuthenticationFilter
Metoda, která bude zavolána v případě, že je fitr likvidován.
destroy() - Method in class authentication.RequestWrappingFilter
Metoda zavolaná při likvidaci filtru.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class authentication.AuthenticationFilter
Metoda zajišťující filtraci HTTP požadavků.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class authentication.RequestWrappingFilter
Metoda zajišťující filtraci.

E

ERRORPAGE - Static variable in class authentication.Constants
Jméno atributu v aplikaci, pod kterým je uloženo URL stránky s informací o chybě přihlášení.
equals(Object) - Method in class authentication.MyPrincipal
Porovná dva objekty.

F

finalize() - Method in class authentication.UserManager
Je-li instance likvidována, uzavře spojení.

G

getAuthType() - Method in class authentication.MyHttpRequest
Metoda vrátí způsob autentifikace.
getConnection() - Method in class authentication.UserManager
Vrátí spojení s databází
getConnectionName() - Method in class authentication.UserManager
Vrátí přihlašovací jméno do DB.
getConnectionPassword() - Method in class authentication.UserManager
Nastaví přihlašovací heslo do DB.
getConnectionURL() - Method in class authentication.UserManager
Vrátí URL pro připojení k DB.
getDigest() - Method in class authentication.UserManager
Vrátí šifrovací algoritmus pro ukládání hesel.
getDriverName() - Method in class authentication.UserManager
Vrátí jméno JDBC ovladače pro práci s databází.
getName() - Method in class authentication.MyPrincipal
Vrátí přihlašovací jméno uživatele
getRemoteUser() - Method in class authentication.MyHttpRequest
Metoda vrátí přihlašovací jméno uživatele, který vyslal HTTP požadavek.
getRoleNameCol() - Method in class authentication.UserManager
Vrátí název sloupce se jmény rolí.
getRoles() - Method in class authentication.MyPrincipal
Vrátí množinu rolí uživatele.
getUserCredCol() - Method in class authentication.UserManager
Vrátí jméno sloupce s přístupovými hesly.
getUserNameCol() - Method in class authentication.UserManager
Vrátí jméno sloupce s jmény uživatelů.
getUserPrincipal() - Method in class authentication.MyHttpRequest
Metoda vrátí principal s informacemi o uživateli, který vyslal HTTP požadavek.
getUserRoleTable() - Method in class authentication.UserManager
Vrátí jméno tabulky rolí.
getUserTable() - Method in class authentication.UserManager
Vrátí jméno tabulky uživatelů.

I

init(FilterConfig) - Method in class authentication.AuthenticationFilter
Metoda zavolána při inicializaci filtru.
init(FilterConfig) - Method in class authentication.RequestWrappingFilter
Metoda inicilaizuje filtr.
isUserInRole(String) - Method in class authentication.MyHttpRequest
Metoda zjistí, zda je uživatel asociován se zadanou rolí.
isUserInRole(String) - Method in class authentication.MyPrincipal
Zjistí, zda je uživatel asociován s danou rolí.

L

LOGINFORM - Static variable in class authentication.Constants
Jméno atributu v aplikaci, pod kterým je uloženo URL přihlašovacího formuláře.
login(String, String) - Method in class authentication.UserManager
Přihlásí uživatele.

M

MyHttpRequest - class authentication.MyHttpRequest.
"Obal" pro HTTP požadavek.
MyHttpRequest(HttpServletRequest) - Constructor for class authentication.MyHttpRequest
Vytvoří instanci
MyPrincipal - class authentication.MyPrincipal.
Vlastní principál pro identifikaci uživatele
MyPrincipal() - Constructor for class authentication.MyPrincipal
Vytvoří instanci.

O

openConnection() - Method in class authentication.UserManager
Otevře nové spojení s databází.

R

REDIRECT - Static variable in class authentication.Constants
Jméno atributu v session, pod kterým je uloženo URL, ze kterého byl uživatel přesměrován na přihlášení.
RequestWrappingFilter - class authentication.RequestWrappingFilter.
Filtr, který příchozí HTTP požadavek "obalí" do instance třídy MyHttpRequest.
RequestWrappingFilter() - Constructor for class authentication.RequestWrappingFilter
Vytvoří instanci.
register(String, String, Vector) - Method in class authentication.UserManager
Zaregistruje uživatele.

S

setConnection(Connection) - Method in class authentication.UserManager
Nastaví spojení s databází.
setConnectionName(String) - Method in class authentication.UserManager
Nastaví přihlašovací jméno do DB.
setConnectionPassword(String) - Method in class authentication.UserManager
Nastaví přihlašovací heslo do DB.
setConnectionURL(String) - Method in class authentication.UserManager
Nastaví URL pro připojení k DB.
setDigest(String) - Method in class authentication.UserManager
Nastaví šifrovací algoritmus pro ukládání hesel.
setDriverName(String) - Method in class authentication.UserManager
Nastaví jméno JDBC ovladače pro práci s databází.
setName(String) - Method in class authentication.MyPrincipal
Nastaví přihlašovací jméno uživatele
setRoleNameCol(String) - Method in class authentication.UserManager
Nastaví jázev sloupce se jmény rolí.
setRoles(Set) - Method in class authentication.MyPrincipal
Nastaví množinu rolí pro uživatele.
setUserCredCol(String) - Method in class authentication.UserManager
Nastaví jméno sloupce s přístupovými hesly.
setUserNameCol(String) - Method in class authentication.UserManager
Nastaví jméno sloupce s jmény uživatelů.
setUserRoleTable(String) - Method in class authentication.UserManager
Nastaví jméno tabulky rolí.
setUserTable(String) - Method in class authentication.UserManager
Nastaví jméno tabulky uživatelů.

U

USER - Static variable in class authentication.Constants
Jméno atributu v session, pod kterým je uložena instance třídy Principal přihlášeného uživatele.
USERMANAGER - Static variable in class authentication.Constants
Jméno atributu v aplikaci, pod kterým je uložen manager uživatelů.
UserManager - class authentication.UserManager.
Třída pro administraci uživatelů
UserManager() - Constructor for class authentication.UserManager
Vytvoří instanci

A C D E F G I L M O R S U