Index

A B C D E F G H I J L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addListener(LogoutListener) - Method in class com.svenruppert.jsentinel.logout.vaadin.VaadinLogoutService
 
ApplicationServiceInitListener - Class in com.svenruppert.jsentinel
Vaadin service initializer that registers the LoginListener as a BeforeEnterListener on every UI.
ApplicationServiceInitListener() - Constructor for class com.svenruppert.jsentinel.ApplicationServiceInitListener
Creates a new instance.
apply(AccessDecision, BeforeEnterEvent) - Method in class com.svenruppert.jsentinel.authorization.impl.VaadinAccessDecisionMapper
Applies an access decision to a Vaadin before-enter event.
apply(NavigationAccessDecision, BeforeEnterEvent, Supplier, Supplier) - Method in class com.svenruppert.jsentinel.authorization.impl.VaadinNavigationAccessDecisionMapper
Applies a navigation access decision to a Vaadin before-enter event.
apply(SecuredVisibility.Target, SecuredVisibility.Requirement, SecuredVisibilityMode) - Static method in class com.svenruppert.jsentinel.components.SecuredVisibility
Resolves the current subject and applies the requirement to target according to mode.
apply(SecuredVisibility.Target, SecuredVisibility.Requirement, SecuredVisibilityMode, Supplier) - Static method in class com.svenruppert.jsentinel.components.SecuredVisibility
Test-friendly variant: the caller supplies the security view directly rather than going through the SPI lookup.
AuthorizationListener - Class in com.svenruppert.jsentinel.authorization.impl
Vaadin adapter for the authorization phase.
AuthorizationListener() - Constructor for class com.svenruppert.jsentinel.authorization.impl.AuthorizationListener
Creates a new instance.

B

beforeEnter(BeforeEnterEvent) - Method in class com.svenruppert.jsentinel.authorization.impl.AuthorizationListener
 
beforeEnter(BeforeEnterEvent) - Method in class com.svenruppert.jsentinel.authorization.LoginListener
 
beforeEnter(BeforeEnterEvent) - Method in class com.svenruppert.jsentinel.session.vaadin.JSentinelVersionEnforcerListener
 
beforeEnter(BeforeEnterEvent) - Method in class com.svenruppert.jsentinel.session.vaadin.SessionLifetimeListener
 
bind(TokenCredential) - Method in class com.svenruppert.jsentinel.credential.propagation.vaadin.VaadinSessionTokenCredentialStore
 
bind(MenuItem, SecuredVisibility.Requirement) - Static method in class com.svenruppert.jsentinel.components.SecuredMenuItem
Binds menuItem to requirement with SecuredVisibilityMode.HIDE and SPI-backed view lookup.
bind(MenuItem, SecuredVisibility.Requirement, SecuredVisibilityMode) - Static method in class com.svenruppert.jsentinel.components.SecuredMenuItem
Binds with a custom mode and SPI-backed view lookup.
bind(MenuItem, SecuredVisibility.Requirement, SecuredVisibilityMode, Supplier) - Static method in class com.svenruppert.jsentinel.components.SecuredMenuItem
Test-friendly binding: caller supplies the security view directly.
BTN_CANCEL_ID - Static variable in class com.svenruppert.jsentinel.authorization.LoginView
Test ID for the cancel/clear button.
BTN_LOGIN_ID - Static variable in class com.svenruppert.jsentinel.authorization.LoginView
Test ID for the login button.

C

CB_REMEMBER_ME_ID - Static variable in class com.svenruppert.jsentinel.authorization.LoginView
Test ID for the remember-me checkbox.
checkCredentials() - Method in class com.svenruppert.jsentinel.authorization.LoginView
Validates the credentials entered by the user.
clear() - Method in class com.svenruppert.jsentinel.credential.propagation.vaadin.VaadinSessionTokenCredentialStore
 
clear() - Static method in class com.svenruppert.jsentinel.session.vaadin.VaadinJSentinelVersionContext
Removes the snapshot from VaadinSession.getCurrent().
clear(VaadinSession) - Static method in class com.svenruppert.jsentinel.session.vaadin.VaadinJSentinelVersionContext
Removes the snapshot from session.
clearCustomElements() - Method in class com.svenruppert.jsentinel.authorization.LoginView
Removes all previously added custom elements from the login form.
closeVaadinSession() - Method in class com.svenruppert.jsentinel.logout.vaadin.DefaultVaadinLogoutGateway
 
closeVaadinSession() - Method in interface com.svenruppert.jsentinel.logout.vaadin.VaadinLogoutGateway
Closes the current Vaadin session.
com.svenruppert.jsentinel - package com.svenruppert.jsentinel
 
com.svenruppert.jsentinel.authorization - package com.svenruppert.jsentinel.authorization
 
com.svenruppert.jsentinel.authorization.impl - package com.svenruppert.jsentinel.authorization.impl
 
com.svenruppert.jsentinel.authorization.vaadin - package com.svenruppert.jsentinel.authorization.vaadin
 
com.svenruppert.jsentinel.components - package com.svenruppert.jsentinel.components
 
com.svenruppert.jsentinel.credential.propagation.vaadin - package com.svenruppert.jsentinel.credential.propagation.vaadin
 
com.svenruppert.jsentinel.logout.vaadin - package com.svenruppert.jsentinel.logout.vaadin
 
com.svenruppert.jsentinel.session.vaadin - package com.svenruppert.jsentinel.session.vaadin
 
create(BeforeEnterEvent) - Method in class com.svenruppert.jsentinel.authorization.impl.VaadinAccessContextFactory
Creates an access context from a Vaadin event.
current() - Method in class com.svenruppert.jsentinel.credential.propagation.vaadin.VaadinSessionTokenCredentialStore
 
current() - Static method in class com.svenruppert.jsentinel.session.vaadin.VaadinJSentinelVersionContext
Reads the recorded snapshot from VaadinSession.getCurrent().
current(VaadinSession) - Static method in class com.svenruppert.jsentinel.session.vaadin.VaadinJSentinelVersionContext
Returns the recorded snapshot for session, or empty when none was recorded.
currentJSentinelView() - Static method in class com.svenruppert.jsentinel.components.SecuredVisibility
SPI lookup: typed user via SubjectStore → roles + permissions via the registered AuthorizationService.
currentSubject(Class) - Method in class com.svenruppert.jsentinel.authorization.vaadin.VaadinSessionSubjectStore
 

D

defaultNavigationTarget() - Method in class com.svenruppert.jsentinel.authorization.LoginListener
The class with the Route Annotation that will point to the default view in the current project.
DefaultVaadinLogoutGateway - Class in com.svenruppert.jsentinel.logout.vaadin
Default VaadinLogoutGateway backed by the static Vaadin APIs.
DefaultVaadinLogoutGateway() - Constructor for class com.svenruppert.jsentinel.logout.vaadin.DefaultVaadinLogoutGateway
 
deleteCurrentSubject(Class) - Method in class com.svenruppert.jsentinel.authorization.vaadin.VaadinSessionSubjectStore
 
DISABLE - Enum constant in enum class com.svenruppert.jsentinel.components.SecuredVisibilityMode
 

E

equals(Object) - Method in record class com.svenruppert.jsentinel.components.SecuredVisibility.JSentinelView
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.svenruppert.jsentinel.components.SecuredVisibility.Requirement
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.svenruppert.jsentinel.session.vaadin.VaadinJSentinelVersionContext.Snapshot
Indicates whether some other object is "equal to" this one.

F

findLoginListener() - Static method in class com.svenruppert.jsentinel.authorization.LoginListeners
Returns the registered LoginListener, or empty if none is registered.

G

grid() - Method in class com.svenruppert.jsentinel.components.SessionManagementView
 

H

hashCode() - Method in record class com.svenruppert.jsentinel.components.SecuredVisibility.JSentinelView
Returns a hash code value for this object.
hashCode() - Method in record class com.svenruppert.jsentinel.components.SecuredVisibility.Requirement
Returns a hash code value for this object.
hashCode() - Method in record class com.svenruppert.jsentinel.session.vaadin.VaadinJSentinelVersionContext.Snapshot
Returns a hash code value for this object.
HIDE - Enum constant in enum class com.svenruppert.jsentinel.components.SecuredVisibilityMode
 

I

invalidateHttpSession() - Method in class com.svenruppert.jsentinel.logout.vaadin.DefaultVaadinLogoutGateway
 
invalidateHttpSession() - Method in interface com.svenruppert.jsentinel.logout.vaadin.VaadinLogoutGateway
Invalidates the underlying servlet session.
isAllowed(SecuredVisibility.Requirement, HasRoles, HasPermissions) - Static method in class com.svenruppert.jsentinel.components.SecuredVisibility
Computes admission from the requirement against the supplied role and permission views.
isEmpty() - Method in record class com.svenruppert.jsentinel.components.SecuredVisibility.Requirement
 
isEnabled() - Method in interface com.svenruppert.jsentinel.components.SecuredVisibility.Target
Read component enabled-state.
isVisible() - Method in interface com.svenruppert.jsentinel.components.SecuredVisibility.Target
Read component visibility.

J

JSentinelVersionEnforcerListener - Class in com.svenruppert.jsentinel.session.vaadin
Vaadin adapter for JSentinelVersionEnforcer.
JSentinelVersionEnforcerListener(JSentinelVersionEnforcer, Class) - Constructor for class com.svenruppert.jsentinel.session.vaadin.JSentinelVersionEnforcerListener
 
JSentinelView(HasRoles, HasPermissions) - Constructor for record class com.svenruppert.jsentinel.components.SecuredVisibility.JSentinelView
Validates the components.

L

loginListener() - Static method in class com.svenruppert.jsentinel.authorization.LoginListeners
Returns the registered LoginListener.
LoginListener<U> - Class in com.svenruppert.jsentinel.authorization
The final implementation inside a project must be "activated" with its FQN in a file META-INF/services/com.svenruppert.jsentinel.authorization.LoginListener.
LoginListener() - Constructor for class com.svenruppert.jsentinel.authorization.LoginListener
Creates a new login listener.
LoginListeners - Class in com.svenruppert.jsentinel.authorization
Resolver for Vaadin login listeners.
loginNavigationTarget() - Method in class com.svenruppert.jsentinel.authorization.LoginListener
The LoginView that should be used.
LoginView - Class in com.svenruppert.jsentinel.authorization
Abstract base class for login views.
LoginView() - Constructor for class com.svenruppert.jsentinel.authorization.LoginView
Assembles the login form layout.
logout(SubjectId, LogoutScope) - Method in class com.svenruppert.jsentinel.logout.vaadin.VaadinLogoutService
 

M

menuItem() - Method in class com.svenruppert.jsentinel.components.SecuredMenuItem
 
mode() - Method in class com.svenruppert.jsentinel.components.SecuredButton
 
mode() - Method in class com.svenruppert.jsentinel.components.SecuredMenuItem
 
mode() - Method in class com.svenruppert.jsentinel.components.SecuredRouterLink
 

N

navigateToApp() - Method in class com.svenruppert.jsentinel.authorization.LoginView
Called after successful credential validation.
notARestrictedTarget(Class) - Method in class com.svenruppert.jsentinel.authorization.LoginListener
Called when the navigation target does not carry a restriction annotation.

O

onAttach(AttachEvent) - Method in class com.svenruppert.jsentinel.components.SecuredButton
 
onAttach(AttachEvent) - Method in class com.svenruppert.jsentinel.components.SecuredRouterLink
 

P

password() - Method in class com.svenruppert.jsentinel.authorization.LoginView
Returns the current value of the password field.
permission(PermissionName) - Static method in record class com.svenruppert.jsentinel.components.SecuredVisibility.Requirement
Single-permission convenience.
permissions() - Method in record class com.svenruppert.jsentinel.components.SecuredVisibility.JSentinelView
Returns the value of the permissions record component.
PF_PASSWORD_ID - Static variable in class com.svenruppert.jsentinel.authorization.LoginView
Test ID for the password field.

R

reactOnFailedLogin() - Method in class com.svenruppert.jsentinel.authorization.LoginView
Called when credential validation fails.
record(SubjectId, TenantId, JSentinelVersion, String) - Static method in class com.svenruppert.jsentinel.session.vaadin.VaadinJSentinelVersionContext
Convenience overload writing to VaadinSession.getCurrent().
record(VaadinSession, SubjectId, TenantId, JSentinelVersion, String) - Static method in class com.svenruppert.jsentinel.session.vaadin.VaadinJSentinelVersionContext
Records the snapshot on the supplied session.
redirectTo(String) - Method in class com.svenruppert.jsentinel.logout.vaadin.DefaultVaadinLogoutGateway
 
redirectTo(String) - Method in interface com.svenruppert.jsentinel.logout.vaadin.VaadinLogoutGateway
Tells the browser to navigate to the given path.
refresh() - Method in class com.svenruppert.jsentinel.components.SecuredButton
Re-runs the visibility check against the current subject.
refresh() - Method in class com.svenruppert.jsentinel.components.SecuredMenuItem
Re-runs the visibility check against the current subject.
refresh() - Method in class com.svenruppert.jsentinel.components.SecuredRouterLink
Re-runs the visibility check against the current subject.
refresh() - Method in class com.svenruppert.jsentinel.components.SessionManagementView
Re-reads SessionStore.findAll() and rebinds the grid.
removeListener(LogoutListener) - Method in class com.svenruppert.jsentinel.logout.vaadin.VaadinLogoutService
 
requiredPermissions() - Method in record class com.svenruppert.jsentinel.components.SecuredVisibility.Requirement
Returns the value of the requiredPermissions record component.
requiredRoles() - Method in record class com.svenruppert.jsentinel.components.SecuredVisibility.Requirement
Returns the value of the requiredRoles record component.
requirement() - Method in class com.svenruppert.jsentinel.components.SecuredButton
 
requirement() - Method in class com.svenruppert.jsentinel.components.SecuredMenuItem
 
requirement() - Method in class com.svenruppert.jsentinel.components.SecuredRouterLink
 
Requirement(Set, Set) - Constructor for record class com.svenruppert.jsentinel.components.SecuredVisibility.Requirement
Validates the components — null becomes empty, sets are defensively copied.
reset() - Static method in class com.svenruppert.jsentinel.authorization.LoginListeners
Clears cached listener.
role(RoleName) - Static method in record class com.svenruppert.jsentinel.components.SecuredVisibility.Requirement
Single-role convenience.
roles() - Method in record class com.svenruppert.jsentinel.components.SecuredVisibility.JSentinelView
Returns the value of the roles record component.

S

SecuredButton - Class in com.svenruppert.jsentinel.components
Button subclass that hides or disables itself when the current subject does not satisfy the supplied SecuredVisibility.Requirement.
SecuredButton(String, SecuredVisibility.Requirement) - Constructor for class com.svenruppert.jsentinel.components.SecuredButton
Builds a secured button with the default SecuredVisibilityMode.DISABLE mode and SPI-backed security-view lookup.
SecuredButton(String, SecuredVisibility.Requirement, SecuredVisibilityMode) - Constructor for class com.svenruppert.jsentinel.components.SecuredButton
Builds a secured button with a custom mode and SPI-backed security-view lookup.
SecuredButton(String, SecuredVisibility.Requirement, SecuredVisibilityMode, Supplier) - Constructor for class com.svenruppert.jsentinel.components.SecuredButton
Full constructor — useful in tests where the caller supplies the security view directly rather than going through the SPI.
SecuredMenuItem - Class in com.svenruppert.jsentinel.components
Permission-aware binding helper for Vaadin MenuItems.
SecuredRouterLink - Class in com.svenruppert.jsentinel.components
RouterLink subclass that hides or disables itself when the current subject does not satisfy the supplied SecuredVisibility.Requirement.
SecuredRouterLink(Router, String, Class, SecuredVisibility.Requirement, SecuredVisibilityMode, Supplier) - Constructor for class com.svenruppert.jsentinel.components.SecuredRouterLink
Router-explicit constructor — for headless tests or routing setups where the router isn't bound on VaadinService.getCurrent().
SecuredRouterLink(String, Class, SecuredVisibility.Requirement) - Constructor for class com.svenruppert.jsentinel.components.SecuredRouterLink
Builds a secured router link with SecuredVisibilityMode.HIDE and SPI-backed view lookup.
SecuredRouterLink(String, Class, SecuredVisibility.Requirement, SecuredVisibilityMode) - Constructor for class com.svenruppert.jsentinel.components.SecuredRouterLink
Builds a secured router link with a custom mode and SPI-backed view lookup.
SecuredRouterLink(String, Class, SecuredVisibility.Requirement, SecuredVisibilityMode, Supplier) - Constructor for class com.svenruppert.jsentinel.components.SecuredRouterLink
Full constructor.
SecuredVisibility - Class in com.svenruppert.jsentinel.components
Shared decision point for the Phase-8b secured Vaadin components (SecuredButton, SecuredRouterLink, SecuredMenuItem).
SecuredVisibility.JSentinelView - Record Class in com.svenruppert.jsentinel.components
The slice of the current subject the components consult.
SecuredVisibility.Requirement - Record Class in com.svenruppert.jsentinel.components
What a secured component requires to be enabled / visible.
SecuredVisibility.Target - Interface in com.svenruppert.jsentinel.components
Target a SecuredVisibility helper toggles.
SecuredVisibilityMode - Enum Class in com.svenruppert.jsentinel.components
How a secured component reacts when the current subject is not permitted.
serviceInit(ServiceInitEvent) - Method in class com.svenruppert.jsentinel.ApplicationServiceInitListener
 
serviceInit(ServiceInitEvent) - Method in class com.svenruppert.jsentinel.authorization.impl.AuthorizationListener
 
serviceInit(ServiceInitEvent) - Method in class com.svenruppert.jsentinel.session.vaadin.SessionLifetimeListener
 
sessionId() - Method in record class com.svenruppert.jsentinel.session.vaadin.VaadinJSentinelVersionContext.Snapshot
Returns the value of the sessionId record component.
SessionLifetimeListener - Class in com.svenruppert.jsentinel.session.vaadin
Vaadin BeforeEnterListener that consults the SessionPolicy on every navigation and enforces idle / absolute session lifetime via SessionPolicy.evaluate(SessionMetadata).
SessionLifetimeListener() - Constructor for class com.svenruppert.jsentinel.session.vaadin.SessionLifetimeListener
Default — uses Clock.systemUTC().
SessionLifetimeListener(Clock) - Constructor for class com.svenruppert.jsentinel.session.vaadin.SessionLifetimeListener
Test seam: inject a fixed clock.
SessionManagementView - Class in com.svenruppert.jsentinel.components
Reusable session-management UI for security administrators.
SessionManagementView(SessionStore, Consumer) - Constructor for class com.svenruppert.jsentinel.components.SessionManagementView
 
sessionStore() - Method in class com.svenruppert.jsentinel.components.SessionManagementView
 
setCurrentSubject(T, Class) - Method in class com.svenruppert.jsentinel.authorization.vaadin.VaadinSessionSubjectStore
 
setCustomElements(Component) - Method in class com.svenruppert.jsentinel.authorization.LoginView
Adds a custom UI component to the login form (below the password field and above the remember-me checkbox).
setEnabled(boolean) - Method in interface com.svenruppert.jsentinel.components.SecuredVisibility.Target
Set component enabled-state (Vaadin Component.setEnabled).
setLoginListener(LoginListener) - Static method in class com.svenruppert.jsentinel.authorization.LoginListeners
Replaces the cached LoginListener.
setVisible(boolean) - Method in interface com.svenruppert.jsentinel.components.SecuredVisibility.Target
Set component visibility (Vaadin Component.setVisible).
snapshot() - Method in record class com.svenruppert.jsentinel.session.vaadin.VaadinJSentinelVersionContext.Snapshot
Returns the value of the snapshot record component.
Snapshot(SubjectId, TenantId, JSentinelVersion, String) - Constructor for record class com.svenruppert.jsentinel.session.vaadin.VaadinJSentinelVersionContext.Snapshot
Validates the components.
subjectId() - Method in record class com.svenruppert.jsentinel.session.vaadin.VaadinJSentinelVersionContext.Snapshot
Returns the value of the subjectId record component.

T

tenant() - Method in record class com.svenruppert.jsentinel.session.vaadin.VaadinJSentinelVersionContext.Snapshot
Returns the value of the tenant record component.
TF_USERNAME_ID - Static variable in class com.svenruppert.jsentinel.authorization.LoginView
Test ID for the username field.
toString() - Method in record class com.svenruppert.jsentinel.components.SecuredVisibility.JSentinelView
Returns a string representation of this record class.
toString() - Method in record class com.svenruppert.jsentinel.components.SecuredVisibility.Requirement
Returns a string representation of this record class.
toString() - Method in record class com.svenruppert.jsentinel.session.vaadin.VaadinJSentinelVersionContext.Snapshot
Returns a string representation of this record class.

U

uiInit(UIInitEvent) - Method in class com.svenruppert.jsentinel.authorization.impl.AuthorizationListener
 
uiInit(UIInitEvent) - Method in class com.svenruppert.jsentinel.session.vaadin.SessionLifetimeListener
 
username() - Method in class com.svenruppert.jsentinel.authorization.LoginView
Returns the current value of the username field.

V

VaadinAccessContextFactory - Class in com.svenruppert.jsentinel.authorization.impl
Creates core AccessContext instances from Vaadin navigation events.
VaadinAccessContextFactory() - Constructor for class com.svenruppert.jsentinel.authorization.impl.VaadinAccessContextFactory
Creates a new factory.
VaadinAccessDecisionMapper - Class in com.svenruppert.jsentinel.authorization.impl
Maps core access decisions to Vaadin navigation operations.
VaadinAccessDecisionMapper() - Constructor for class com.svenruppert.jsentinel.authorization.impl.VaadinAccessDecisionMapper
Creates a new mapper.
VaadinJSentinelVersionContext - Class in com.svenruppert.jsentinel.session.vaadin
Per-VaadinSession carrier for the security-version snapshot captured at login time.
VaadinJSentinelVersionContext.Snapshot - Record Class in com.svenruppert.jsentinel.session.vaadin
Per-session security state captured at login time.
VaadinLogoutGateway - Interface in com.svenruppert.jsentinel.logout.vaadin
Strategy for the Vaadin-side effects of a logout.
VaadinLogoutService<U> - Class in com.svenruppert.jsentinel.logout.vaadin
Vaadin-aware LogoutService.
VaadinLogoutService(SubjectStore, Class) - Constructor for class com.svenruppert.jsentinel.logout.vaadin.VaadinLogoutService
Convenience: full-invalidate logout (close VaadinSession + invalidate HttpSession) targeting "/login".
VaadinLogoutService(SubjectStore, Class, VaadinLogoutGateway, String, boolean, boolean) - Constructor for class com.svenruppert.jsentinel.logout.vaadin.VaadinLogoutService
Full constructor.
VaadinLogoutService(SubjectStore, Class, VaadinLogoutGateway, String, boolean, boolean, SubjectSessionRegistry) - Constructor for class com.svenruppert.jsentinel.logout.vaadin.VaadinLogoutService
Full constructor with explicit SubjectSessionRegistry.
VaadinNavigationAccessDecisionMapper - Class in com.svenruppert.jsentinel.authorization.impl
Maps authentication-phase navigation decisions to Vaadin navigation operations.
VaadinNavigationAccessDecisionMapper() - Constructor for class com.svenruppert.jsentinel.authorization.impl.VaadinNavigationAccessDecisionMapper
Creates a new mapper.
VaadinSessionSubjectStore - Class in com.svenruppert.jsentinel.authorization.vaadin
Default SubjectStore implementation backed by VaadinSession.
VaadinSessionSubjectStore() - Constructor for class com.svenruppert.jsentinel.authorization.vaadin.VaadinSessionSubjectStore
Creates a new instance.
VaadinSessionTokenCredentialStore - Class in com.svenruppert.jsentinel.credential.propagation.vaadin
Vaadin-adapter default TokenCredentialStore backed by VaadinSession.
VaadinSessionTokenCredentialStore() - Constructor for class com.svenruppert.jsentinel.credential.propagation.vaadin.VaadinSessionTokenCredentialStore
 
valueOf(String) - Static method in enum class com.svenruppert.jsentinel.components.SecuredVisibilityMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.svenruppert.jsentinel.components.SecuredVisibilityMode
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D E F G H I J L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form