Index
All Classes and Interfaces|All Packages
B
- bind(TokenCredential) - Method in class com.svenruppert.jsentinel.credential.propagation.standalone.ThreadLocalTokenCredentialStore
- bindToken(TokenCredential) - Method in class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow
-
V00.74 — bind a
TokenCredentialfor the current thread so@PropagateToken-annotated wrappers can forward it to downstream HTTP calls.
C
- clear() - Method in class com.svenruppert.jsentinel.credential.propagation.standalone.ThreadLocalTokenCredentialStore
- clear() - Method in class com.svenruppert.jsentinel.standalone.ThreadLocalSubjectStore
-
Clears every binding on the current thread.
- com.svenruppert.jsentinel.credential.propagation.standalone - package com.svenruppert.jsentinel.credential.propagation.standalone
- com.svenruppert.jsentinel.standalone - package com.svenruppert.jsentinel.standalone
- current() - Method in class com.svenruppert.jsentinel.credential.propagation.standalone.ThreadLocalTokenCredentialStore
- currentSubject(Class) - Method in class com.svenruppert.jsentinel.standalone.ThreadLocalSubjectStore
D
- decision() - Method in record class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult.LockedOut
-
Returns the value of the
decisionrecord component. - deleteCurrentSubject(Class) - Method in class com.svenruppert.jsentinel.standalone.ThreadLocalSubjectStore
E
- equals(Object) - Method in record class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult.LockedOut
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult.Rejected
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult.Success
-
Indicates whether some other object is "equal to" this one.
H
- hashCode() - Method in record class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult.LockedOut
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult.Rejected
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult.Success
-
Returns a hash code value for this object.
L
- lockedOut(LoginAttemptDecision.LockedOut) - Static method in interface com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult
- LockedOut(LoginAttemptDecision.LockedOut) - Constructor for record class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult.LockedOut
-
Creates an instance of a
LockedOutrecord class. - login(T, String) - Method in class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow
-
Runs one login attempt.
- logout() - Method in class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow
-
Removes the current subject from the
SubjectStore.
R
- rejected() - Static method in interface com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult
- Rejected() - Constructor for record class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult.Rejected
-
Creates an instance of a
Rejectedrecord class. - requireAllowed(Class, String) - Static method in class com.svenruppert.jsentinel.standalone.SecuredProxy
-
Single-shot check on the calling method.
S
- SecuredProxy - Class in com.svenruppert.jsentinel.standalone
-
Builds a dynamic-proxy wrapper around any interface so that every invocation routes through
JSentinelEnforcer: if the method (or its declaring class) carries a security annotation, the matching evaluator runs before the call is delegated to the real implementation. - setCurrentSubject(T, Class) - Method in class com.svenruppert.jsentinel.standalone.ThreadLocalSubjectStore
- StandaloneLoginFlow<T,
U> - Class in com.svenruppert.jsentinel.standalone -
Drives the login lifecycle for standalone applications without any UI-toolkit assumption.
- StandaloneLoginFlow() - Constructor for class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow
-
Uses the SPI-resolved
AuthenticationServiceand the system UTC clock. - StandaloneLoginFlow(AuthenticationService, Clock) - Constructor for class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow
-
Test seam.
- StandaloneLoginFlow.LoginResult<U> - Interface in com.svenruppert.jsentinel.standalone
-
Outcome of a single
StandaloneLoginFlow.login(T, String)call. - StandaloneLoginFlow.LoginResult.LockedOut<U> - Record Class in com.svenruppert.jsentinel.standalone
-
The username is currently locked out.
- StandaloneLoginFlow.LoginResult.Rejected<U> - Record Class in com.svenruppert.jsentinel.standalone
-
Credentials were invalid (wrong password, unknown user, etc.).
- StandaloneLoginFlow.LoginResult.Success<U> - Record Class in com.svenruppert.jsentinel.standalone
-
Credentials were valid and a subject was bound into the store.
- subject() - Method in record class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult.Success
-
Returns the value of the
subjectrecord component. - success(U) - Static method in interface com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult
- Success(U) - Constructor for record class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult.Success
-
Creates an instance of a
Successrecord class.
T
- ThreadLocalSubjectStore - Class in com.svenruppert.jsentinel.standalone
-
SubjectStorethat keeps the current subject in a thread-local map keyed by subject class. - ThreadLocalSubjectStore() - Constructor for class com.svenruppert.jsentinel.standalone.ThreadLocalSubjectStore
-
Creates an empty store.
- ThreadLocalTokenCredentialStore - Class in com.svenruppert.jsentinel.credential.propagation.standalone
-
Standalone-adapter default
TokenCredentialStorebacked by a per-threadThreadLocalslot. - ThreadLocalTokenCredentialStore() - Constructor for class com.svenruppert.jsentinel.credential.propagation.standalone.ThreadLocalTokenCredentialStore
- toString() - Method in record class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult.LockedOut
-
Returns a string representation of this record class.
- toString() - Method in record class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult.Rejected
-
Returns a string representation of this record class.
- toString() - Method in record class com.svenruppert.jsentinel.standalone.StandaloneLoginFlow.LoginResult.Success
-
Returns a string representation of this record class.
W
- wrap(Class, T) - Static method in class com.svenruppert.jsentinel.standalone.SecuredProxy
-
Wraps
delegatein a dynamic proxy that enforces the security annotations declared oninterfaceType(class-level or per method).
All Classes and Interfaces|All Packages