Uses of Record Class
com.svenruppert.jsentinel.logout.SubjectId
Packages that use SubjectId
Package
Description
-
Uses of SubjectId in com.svenruppert.jsentinel.accountlifecycle
Methods in com.svenruppert.jsentinel.accountlifecycle that return SubjectIdModifier and TypeMethodDescriptionEmailVerificationTokenRecord.subjectId()Returns the value of thesubjectIdrecord component.JSentinelNotification.subjectId()Returns the value of thesubjectIdrecord component.PasswordResetTokenRecord.subjectId()Returns the value of thesubjectIdrecord component.Methods in com.svenruppert.jsentinel.accountlifecycle with parameters of type SubjectIdModifier and TypeMethodDescriptionintEmailVerificationTokenStore.deleteBySubject(TenantId tenant, SubjectId subjectId) Drops every token issued tosubjectIdwithintenant.intInMemoryEmailVerificationTokenStore.deleteBySubject(TenantId tenant, SubjectId subjectId) intInMemoryPasswordResetTokenStore.deleteBySubject(TenantId tenant, SubjectId subjectId) intPasswordResetTokenStore.deleteBySubject(TenantId tenant, SubjectId subjectId) Drops every token (consumed or pending) issued tosubjectIdwithintenant.Issues a verification token forsubjectId/email.Issues a new reset token.intDrops every token issued tosubjectIdin this service's tenant.intDrops every token issued tosubjectIdin this service's tenant.Constructors in com.svenruppert.jsentinel.accountlifecycle with parameters of type SubjectIdModifierConstructorDescriptionEmailVerificationTokenRecord(String tokenHash, TenantId tenant, SubjectId subjectId, String email, Instant createdAt, Instant expiresAt, Optional<Instant> consumedAt) Validates the record components and normalisesnulltenant / consumedAt.JSentinelNotification(JSentinelNotification.Kind kind, SubjectId subjectId, TenantId tenant, Instant timestamp, Map<String, String> attributes) Validates the record components and freezes the attribute map.PasswordResetTokenRecord(String tokenHash, TenantId tenant, SubjectId subjectId, Instant createdAt, Instant expiresAt, Optional<Instant> consumedAt) Validates the record components and normalisesnulltenant /nullconsumedAt. -
Uses of SubjectId in com.svenruppert.jsentinel.authentication
Methods in com.svenruppert.jsentinel.authentication that return SubjectIdModifier and TypeMethodDescriptionApiKeyRecord.subjectId()Returns the value of thesubjectIdrecord component.RefreshTokenRecord.subjectId()Returns the value of thesubjectIdrecord component.RememberMeTokenRecord.subjectId()Returns the value of thesubjectIdrecord component.TokenService.TokenPair.subjectId()Returns the value of thesubjectIdrecord component.Methods in com.svenruppert.jsentinel.authentication with parameters of type SubjectIdModifier and TypeMethodDescriptionintInMemoryRefreshTokenStore.deleteBySubject(TenantId tenant, SubjectId subjectId) intInMemoryRememberMeTokenStore.deleteBySubject(TenantId tenant, SubjectId subjectId) intRefreshTokenStore.deleteBySubject(TenantId tenant, SubjectId subjectId) Drops every token (active, replaced or revoked) issued tosubjectIdwithintenant.intRememberMeTokenStore.deleteBySubject(TenantId tenant, SubjectId subjectId) Drops every token issued tosubjectIdwithintenant.Issues a new token forsubjectIdwith the given TTL.Issues a fresh access + refresh pair.ApiKeyStore.listBySubject(TenantId tenant, SubjectId subjectId) Returns every record (active, revoked, or expired) belonging tosubjectIdwithintenant, in insertion order (oldest first).InMemoryApiKeyStore.listBySubject(TenantId tenant, SubjectId subjectId) intRevokes every token issued tosubjectIdin this service's tenant.intDrops every refresh token issued tosubjectIdin this service's tenant.Constructors in com.svenruppert.jsentinel.authentication with parameters of type SubjectIdModifierConstructorDescriptionApiKeyRecord(String keyHash, TenantId tenant, SubjectId subjectId, String name, Set<PermissionName> scopes, Instant createdAt, Optional<Instant> expiresAt, Optional<Instant> lastUsedAt, Optional<Instant> revokedAt) Validates the record components, normalisesnulltenant toTenantId.DEFAULT, defensively copiesscopes, and replacesnullOptionals withOptional.empty().RefreshTokenRecord(String tokenHash, TenantId tenant, SubjectId subjectId, Instant createdAt, Instant expiresAt, Optional<String> replacedByHash, Optional<Instant> revokedAt) Validates the record components and normalisesnulltenant / Optionals.RememberMeTokenRecord(String tokenHash, TenantId tenant, SubjectId subjectId, Instant createdAt, Instant expiresAt) Validates the record components and normalisesnulltenant toTenantId.DEFAULT.TokenPair(String accessToken, Instant accessExpiresAt, String refreshToken, Instant refreshExpiresAt, SubjectId subjectId) Validates the components. -
Uses of SubjectId in com.svenruppert.jsentinel.authorization.api
Methods in com.svenruppert.jsentinel.authorization.api that return SubjectId -
Uses of SubjectId in com.svenruppert.jsentinel.authorization.api.roles
Methods in com.svenruppert.jsentinel.authorization.api.roles that return SubjectIdModifier and TypeMethodDescriptionRoleAssignmentKey.subjectId()Returns the value of thesubjectIdrecord component.Constructors in com.svenruppert.jsentinel.authorization.api.roles with parameters of type SubjectIdModifierConstructorDescriptionRoleAssignmentKey(TenantId tenant, SubjectId subjectId) Validates the record components and normalises anulltenant toTenantId.DEFAULT.Constructor parameters in com.svenruppert.jsentinel.authorization.api.roles with type arguments of type SubjectIdModifierConstructorDescriptionStoreBackedRoleAuthorizationService(RoleAssignmentStore store, Function<U, SubjectId> subjectIdResolver) Single-tenant constructor.StoreBackedRoleAuthorizationService(RoleAssignmentStore store, Function<U, SubjectId> subjectIdResolver, Function<U, TenantId> tenantResolver) Multi-tenant constructor. -
Uses of SubjectId in com.svenruppert.jsentinel.logout
Methods in com.svenruppert.jsentinel.logout that return SubjectIdMethods in com.svenruppert.jsentinel.logout with parameters of type SubjectIdModifier and TypeMethodDescriptionForgets every association forsubjectId.voidLogoutService.logout(SubjectId subjectId, LogoutScope scope) Performs the logout.voidNoopLogoutService.logout(SubjectId subjectId, LogoutScope scope) voidSubjectClearingLogoutService.logout(SubjectId subjectId, LogoutScope scope) voidLogoutListener.onLogout(SubjectId subjectId, String sessionId, LogoutScope scope) Fired once per logged-out session.voidvoidvoidRecords thatsessionIdbelongs tosubjectId.InMemorySubjectSessionRegistry.sessionsOf(SubjectId subjectId) StoreBackedSubjectSessionRegistry.sessionsOf(SubjectId subjectId) SubjectSessionRegistry.sessionsOf(SubjectId subjectId) Returns every session id currently associated withsubjectId.voidInMemorySubjectSessionRegistry.unregister(SubjectId subjectId, String sessionId) voidStoreBackedSubjectSessionRegistry.unregister(SubjectId subjectId, String sessionId) voidSubjectSessionRegistry.unregister(SubjectId subjectId, String sessionId) Removes the(subjectId, sessionId)association if present. -
Uses of SubjectId in com.svenruppert.jsentinel.session
Methods in com.svenruppert.jsentinel.session that return SubjectIdModifier and TypeMethodDescriptionJSentinelVersionKey.subjectId()Returns the value of thesubjectIdrecord component.SessionRecord.subjectId()Returns the value of thesubjectIdrecord component.Methods in com.svenruppert.jsentinel.session with parameters of type SubjectIdModifier and TypeMethodDescriptionJSentinelVersionEnforcer.enforce(SubjectId subjectId, TenantId tenant, JSentinelVersion snapshot, String sessionId, String route) Runs the drift check and emits aSessionStaleaudit event on drift.InMemorySessionStore.findBySubject(TenantId tenant, SubjectId subjectId) SessionStore.findBySubject(TenantId tenant, SubjectId subjectId) Returns every record (in anySessionStatus) belonging tosubjectIdwithintenant, in insertion order (oldest first).Constructors in com.svenruppert.jsentinel.session with parameters of type SubjectIdModifierConstructorDescriptionJSentinelVersionKey(TenantId tenant, SubjectId subjectId) Validates the record components and normalises anulltenant toTenantId.DEFAULT.SessionRecord(SessionId sessionId, SubjectId subjectId, TenantId tenant, Instant createdAt, Instant lastActivityAt, JSentinelVersion securityVersionAtLogin, SessionStatus status) Validates the record components and normalises anulltenant toTenantId.DEFAULT.