Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AuthenticationAbstract<U> - Class in org.bardframework.commons.security.token
-
Contains information about authentication.
- AuthenticationAbstract() - Constructor for class org.bardframework.commons.security.token.AuthenticationAbstract
- AuthenticationAbstract(U) - Constructor for class org.bardframework.commons.security.token.AuthenticationAbstract
C
- cleanExpired() - Method in class org.bardframework.commons.security.token.manager.TokenManagerInMemory
-
clean expired tokens
- clearSecurityContext(HttpServletRequest, HttpServletResponse) - Method in interface org.bardframework.commons.security.context.SecurityContextManager
- clearSecurityContext(HttpServletRequest, HttpServletResponse) - Method in class org.bardframework.commons.security.context.SecurityContextManagerAbstract
- CookieSecurityContextManagerAbstract<A,
U> - Class in org.bardframework.commons.security.context - CookieSecurityContextManagerAbstract(TokenManager<A>) - Constructor for class org.bardframework.commons.security.context.CookieSecurityContextManagerAbstract
- created - Variable in class org.bardframework.commons.security.token.AuthenticationAbstract
D
- deleteTicket(HttpServletRequest, HttpServletResponse) - Method in class org.bardframework.commons.security.context.CookieSecurityContextManagerAbstract
- deleteTicket(HttpServletRequest, HttpServletResponse) - Method in class org.bardframework.commons.security.context.HeaderSecurityContextManagerAbstract
- deleteTicket(HttpServletRequest, HttpServletResponse) - Method in class org.bardframework.commons.security.context.RequestSecurityContextManagerAbstract
- deleteTicket(HttpServletRequest, HttpServletResponse) - Method in class org.bardframework.commons.security.context.SecurityContextManagerAbstract
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.bardframework.commons.security.filter.SecurityContextFilter
G
- get(String) - Method in interface org.bardframework.commons.security.token.manager.TokenManager
-
Returns user details for a token.
- get(String) - Method in class org.bardframework.commons.security.token.manager.TokenManagerInMemory
- getAuthentication(HttpServletRequest) - Method in interface org.bardframework.commons.security.context.SecurityContextManager
- getAuthentication(HttpServletRequest) - Method in class org.bardframework.commons.security.context.SecurityContextManagerAbstract
- getCreated() - Method in class org.bardframework.commons.security.token.AuthenticationAbstract
- getCredentials() - Method in class org.bardframework.commons.security.token.AuthenticationAbstract
- getDetails() - Method in class org.bardframework.commons.security.token.AuthenticationAbstract
- getName() - Method in class org.bardframework.commons.security.token.AuthenticationAbstract
- getPrincipal() - Method in class org.bardframework.commons.security.token.AuthenticationAbstract
- getToken(HttpServletRequest) - Method in class org.bardframework.commons.security.context.CookieSecurityContextManagerAbstract
- getToken(HttpServletRequest) - Method in class org.bardframework.commons.security.context.HeaderSecurityContextManagerAbstract
- getToken(HttpServletRequest) - Method in class org.bardframework.commons.security.context.RequestSecurityContextManagerAbstract
- getToken(HttpServletRequest) - Method in class org.bardframework.commons.security.context.SecurityContextManagerAbstract
- getTokenExpirationMills() - Method in class org.bardframework.commons.security.token.manager.TokenManagerInMemory
- getTokensMap() - Method in class org.bardframework.commons.security.token.manager.TokenManagerInMemory
- getUser() - Method in class org.bardframework.commons.security.token.AuthenticationAbstract
- getUser(HttpServletRequest) - Method in interface org.bardframework.commons.security.context.SecurityContextManager
- getUser(HttpServletRequest) - Method in class org.bardframework.commons.security.context.SecurityContextManagerAbstract
H
- HeaderSecurityContextManagerAbstract<A,
U> - Class in org.bardframework.commons.security.context - HeaderSecurityContextManagerAbstract(TokenManager<A>) - Constructor for class org.bardframework.commons.security.context.HeaderSecurityContextManagerAbstract
I
- isAuthenticated() - Method in class org.bardframework.commons.security.token.AuthenticationAbstract
- isExpired(long) - Method in class org.bardframework.commons.security.token.AuthenticationAbstract
- isExpired(long) - Method in interface org.bardframework.commons.security.token.manager.Token
O
- org.bardframework.commons.security.context - package org.bardframework.commons.security.context
- org.bardframework.commons.security.filter - package org.bardframework.commons.security.filter
- org.bardframework.commons.security.token - package org.bardframework.commons.security.token
- org.bardframework.commons.security.token.manager - package org.bardframework.commons.security.token.manager
P
- put(T) - Method in interface org.bardframework.commons.security.token.manager.TokenManager
-
Creates a new token for the user and returns it.
- put(T) - Method in class org.bardframework.commons.security.token.manager.TokenManagerInMemory
- putAuthentication(A, HttpServletResponse) - Method in interface org.bardframework.commons.security.context.SecurityContextManager
- putAuthentication(A, HttpServletResponse) - Method in class org.bardframework.commons.security.context.SecurityContextManagerAbstract
-
used in login filter
R
- remove(String) - Method in interface org.bardframework.commons.security.token.manager.TokenManager
-
Removes a single token.
- remove(String) - Method in class org.bardframework.commons.security.token.manager.TokenManagerInMemory
- RequestSecurityContextManagerAbstract<A,
U> - Class in org.bardframework.commons.security.context - RequestSecurityContextManagerAbstract(TokenManager<A>) - Constructor for class org.bardframework.commons.security.context.RequestSecurityContextManagerAbstract
S
- SecurityContextFilter<T> - Class in org.bardframework.commons.security.filter
-
Created by vahid (va.zafari@gmail.com) on 12/19/17.
- SecurityContextFilter(SecurityContextManager<T, ?>) - Constructor for class org.bardframework.commons.security.filter.SecurityContextFilter
- SecurityContextManager<A,
U> - Interface in org.bardframework.commons.security.context - SecurityContextManagerAbstract<A,
U> - Class in org.bardframework.commons.security.context - SecurityContextManagerAbstract(TokenManager<A>) - Constructor for class org.bardframework.commons.security.context.SecurityContextManagerAbstract
- setAuthenticated(boolean) - Method in class org.bardframework.commons.security.token.AuthenticationAbstract
- setCreated(long) - Method in class org.bardframework.commons.security.token.AuthenticationAbstract
- setSecurityContext(HttpServletRequest, HttpServletResponse) - Method in interface org.bardframework.commons.security.context.SecurityContextManager
- setSecurityContext(HttpServletRequest, HttpServletResponse) - Method in class org.bardframework.commons.security.context.SecurityContextManagerAbstract
-
used in security context filter
- setToken(HttpServletResponse, String) - Method in class org.bardframework.commons.security.context.CookieSecurityContextManagerAbstract
- setToken(HttpServletResponse, String) - Method in class org.bardframework.commons.security.context.HeaderSecurityContextManagerAbstract
- setToken(HttpServletResponse, String) - Method in class org.bardframework.commons.security.context.RequestSecurityContextManagerAbstract
- setToken(HttpServletResponse, String) - Method in interface org.bardframework.commons.security.context.SecurityContextManager
- setTokenName(String) - Method in interface org.bardframework.commons.security.context.SecurityContextManager
- setTokenName(String) - Method in class org.bardframework.commons.security.context.SecurityContextManagerAbstract
- setUser(U) - Method in class org.bardframework.commons.security.token.AuthenticationAbstract
T
- Token - Interface in org.bardframework.commons.security.token.manager
- tokenExpirationMills - Variable in class org.bardframework.commons.security.token.manager.TokenManagerInMemory
-
millisecond token expire time
- tokenManager - Variable in class org.bardframework.commons.security.context.SecurityContextManagerAbstract
- TokenManager<T> - Interface in org.bardframework.commons.security.token.manager
-
Manages tokens so we can implement and plug various policies.
- TokenManagerInMemory<T> - Class in org.bardframework.commons.security.token.manager
-
Implements simple token manager, that keeps a single token for each user.
- TokenManagerInMemory(long) - Constructor for class org.bardframework.commons.security.token.manager.TokenManagerInMemory
- tokenName - Variable in class org.bardframework.commons.security.context.SecurityContextManagerAbstract
- tokensMap - Variable in class org.bardframework.commons.security.token.manager.TokenManagerInMemory
U
- user - Variable in class org.bardframework.commons.security.token.AuthenticationAbstract
All Classes and Interfaces|All Packages|Serialized Form