- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class com.github.dbadia.sqrl.server.util.SqrlServiceExecutor
-
- SCHEME_HTTP - Static variable in class com.github.dbadia.sqrl.server.util.SqrlConstants
-
- SCHEME_HTTP_COLON - Static variable in class com.github.dbadia.sqrl.server.util.SqrlConstants
-
- SCHEME_HTTPS - Static variable in class com.github.dbadia.sqrl.server.util.SqrlConstants
-
- SCHEME_HTTPS_COLON - Static variable in class com.github.dbadia.sqrl.server.util.SqrlConstants
-
- SCHEME_QRL - Static variable in class com.github.dbadia.sqrl.server.util.SqrlConstants
-
- SCHEME_SQRL - Static variable in class com.github.dbadia.sqrl.server.util.SqrlConstants
-
- SelfExpiringHashMap<K,V> - Class in com.github.dbadia.sqrl.server.util
-
As described in http://stackoverflow.com/a/30681018/2863942
https://gist.github.com/pcan/16faf4e59942678377e0#file-selfexpiringhashmap-java
A thread-safe implementation of a HashMap which entries expires after the specified life time.
- SelfExpiringHashMap() - Constructor for class com.github.dbadia.sqrl.server.util.SelfExpiringHashMap
-
- SelfExpiringHashMap(long) - Constructor for class com.github.dbadia.sqrl.server.util.SelfExpiringHashMap
-
- SelfExpiringHashMap(long, int) - Constructor for class com.github.dbadia.sqrl.server.util.SelfExpiringHashMap
-
- SelfExpiringHashMap(long, int, float) - Constructor for class com.github.dbadia.sqrl.server.util.SelfExpiringHashMap
-
- SelfExpiringMap<K,V> - Interface in com.github.dbadia.sqrl.server.util
-
https://gist.github.com/pcan/16faf4e59942678377e0#file-selfexpiringhashmap-java
- SEPARATOR - Static variable in class com.github.dbadia.sqrl.server.backchannel.SqrlClientReply
-
- setAESKeyBytes(byte[]) - Method in class com.github.dbadia.sqrl.server.SqrlConfig
-
- setAuthenticatedIdentity(SqrlIdentity) - Method in class com.github.dbadia.sqrl.server.data.SqrlCorrelator
-
- setAuthenticationStatus(SqrlAuthenticationStatus) - Method in class com.github.dbadia.sqrl.server.data.SqrlCorrelator
-
- setAuthSyncCheckInMillis(long) - Method in class com.github.dbadia.sqrl.server.SqrlConfig
-
- setBackchannelServletPath(String) - Method in class com.github.dbadia.sqrl.server.SqrlConfig
-
Required: sets the URL to the servlet endpoint which will handle SQRL client requests, can be either a full URL,
a full URI, or a partial URI.
- setCleanupTaskExecInMinutes(int) - Method in class com.github.dbadia.sqrl.server.SqrlConfig
-
- setClientAuthStateUpdaterClass(String) - Method in class com.github.dbadia.sqrl.server.SqrlConfig
-
- setCookieDomain(String) - Method in class com.github.dbadia.sqrl.server.SqrlConfig
-
- setCookiePath(String) - Method in class com.github.dbadia.sqrl.server.SqrlConfig
-
- setCorrelatorCookieName(String) - Method in class com.github.dbadia.sqrl.server.SqrlConfig
-
- setExecutor(SqrlServiceExecutor) - Static method in class com.github.dbadia.sqrl.server.SqrlConfigOperations
-
Poor mans dependency injection.
- setExecutor(SqrlServiceExecutor) - Static method in class com.github.dbadia.sqrl.server.SqrlServerOperations
-
Poor mans dependency injection.
- setExpiryTime(Date) - Method in class com.github.dbadia.sqrl.server.data.SqrlCorrelator
-
- setExpiryTime(Date) - Method in class com.github.dbadia.sqrl.server.data.SqrlUsedNutToken
-
- setFirstNutCookieName(String) - Method in class com.github.dbadia.sqrl.server.SqrlConfig
-
- setId(long) - Method in class com.github.dbadia.sqrl.server.data.SqrlIdentity
-
- setIdk(String) - Method in class com.github.dbadia.sqrl.server.data.SqrlIdentity
-
- setIpForwardedForHeaders(String[]) - Method in class com.github.dbadia.sqrl.server.SqrlConfig
-
- setNativeUserXref(String) - Method in class com.github.dbadia.sqrl.server.data.SqrlIdentity
-
- setNutValidityInSeconds(int) - Method in class com.github.dbadia.sqrl.server.SqrlConfig
-
Set the length of time (in seconds) that the nut will be valid for
- setQrCodeFileType(SqrlConfig.ImageFormat) - Method in class com.github.dbadia.sqrl.server.SqrlConfig
-
- setSecureRandom(SecureRandom) - Method in class com.github.dbadia.sqrl.server.SqrlConfig
-
- setServerFriendlyName(String) - Method in class com.github.dbadia.sqrl.server.SqrlConfig
-
- setSqrlFlagForIdentity(String, SqrlFlag, boolean) - Method in class com.github.dbadia.sqrl.server.data.SqrlAutoCloseablePersistence
-
- setSqrlFlagForIdentity(String, SqrlFlag, boolean) - Method in class com.github.dbadia.sqrl.server.data.SqrlJpaPersistenceProvider
-
- setSqrlFlagForIdentity(String, SqrlFlag, boolean) - Method in interface com.github.dbadia.sqrl.server.SqrlPersistence
-
Invoked when the user chooses to temporarily disable SQRL authentication for this site
- setSqrlPersistenceFactoryClass(String) - Method in class com.github.dbadia.sqrl.server.SqrlConfig
-
- setValue(String) - Method in class com.github.dbadia.sqrl.server.data.SqrlUsedNutToken
-
- SIGNATURE_TYPE_IDS - Static variable in class com.github.dbadia.sqrl.server.util.SqrlConstants
-
- SIGNATURE_TYPE_URS - Static variable in class com.github.dbadia.sqrl.server.util.SqrlConstants
-
- size() - Method in class com.github.dbadia.sqrl.server.util.SelfExpiringHashMap
- SQRL_KEY_TYPE_IDENTITY - Static variable in class com.github.dbadia.sqrl.server.util.SqrlConstants
-
- SQRL_SIGNATURE_URS - Static variable in class com.github.dbadia.sqrl.server.util.SqrlConstants
-
- SqrlAuthenticationStatus - Enum in com.github.dbadia.sqrl.server
-
- SqrlAuthPageData - Class in com.github.dbadia.sqrl.server
-
Encapsulates the SQRL related data that needs to be displayed for a SQRL login to occur
- SqrlAuthPageData(String, ByteArrayOutputStream, SqrlNutToken, String) - Constructor for class com.github.dbadia.sqrl.server.SqrlAuthPageData
-
- SqrlAuthStateMonitor - Class in com.github.dbadia.sqrl.server
-
- SqrlAuthStateMonitor(SqrlConfig, SqrlServerOperations, SqrlClientAuthStateUpdater) - Constructor for class com.github.dbadia.sqrl.server.SqrlAuthStateMonitor
-
- SqrlAutoCloseablePersistence - Class in com.github.dbadia.sqrl.server.data
-
- SqrlAutoCloseablePersistence(SqrlPersistence) - Constructor for class com.github.dbadia.sqrl.server.data.SqrlAutoCloseablePersistence
-
- sqrlBase64UrlEncode(byte[]) - Static method in class com.github.dbadia.sqrl.server.util.SqrlUtil
-
Performs the SQRL required base64URL encoding
- sqrlBase64UrlEncode(String) - Static method in class com.github.dbadia.sqrl.server.util.SqrlUtil
-
Performs the SQRL required base64URL encoding
- SqrlClientAuthStateUpdater - Interface in com.github.dbadia.sqrl.server
-
For use when SQRL auto refresh is desired so that a user is automatically logged in upon a successful SQRL
authentication.
- SqrlClientOpt - Enum in com.github.dbadia.sqrl.server.backchannel
-
Valid values for the opt parameter
- SqrlClientReply - Class in com.github.dbadia.sqrl.server.backchannel
-
Encapsulates a response that will be sent to a SQRL client
- SqrlClientReply(String, SqrlTif, String, String, Map<String, String>) - Constructor for class com.github.dbadia.sqrl.server.backchannel.SqrlClientReply
-
From GRC trace
ver=1
nut=AIOdvc0F3RTAOF8pfIV_ug
tif=5
qry=/sqrl?nut=AIOdvc0F3RTAOF8pfIV_ug
suk=mC5wBKDXPkbk3J5ohpkM1ksgv0l996DG2BWWOvOXmF4
- SqrlClientRequest - Class in com.github.dbadia.sqrl.server.backchannel
-
Parses a SQRL client request and validates all signatures
- SqrlClientRequest(HttpServletRequest, SqrlPersistence, SqrlConfigOperations) - Constructor for class com.github.dbadia.sqrl.server.backchannel.SqrlClientRequest
-
- SqrlConfig - Class in com.github.dbadia.sqrl.server
-
Bean which stores our server-side SQRL configuration settings.
- SqrlConfig() - Constructor for class com.github.dbadia.sqrl.server.SqrlConfig
-
- SqrlConfig.ImageFormat - Enum in com.github.dbadia.sqrl.server
-
- SqrlConfigHelper - Class in com.github.dbadia.sqrl.server.util
-
- SqrlConfigOperations - Class in com.github.dbadia.sqrl.server
-
- SqrlConfigOperations(SqrlConfig) - Constructor for class com.github.dbadia.sqrl.server.SqrlConfigOperations
-
Internal use only.
- SqrlConfigSettingException - Exception in com.github.dbadia.sqrl.server.exception
-
- SqrlConfigSettingException(String) - Constructor for exception com.github.dbadia.sqrl.server.exception.SqrlConfigSettingException
-
- SqrlConfigSettingException(String, Throwable) - Constructor for exception com.github.dbadia.sqrl.server.exception.SqrlConfigSettingException
-
- SqrlConstants - Class in com.github.dbadia.sqrl.server.util
-
SQRL constants
- SqrlCorrelator - Class in com.github.dbadia.sqrl.server.data
-
Represents a correlator which is used to track the multiple transactions required in a SQRL authentication
- SqrlCorrelator() - Constructor for class com.github.dbadia.sqrl.server.data.SqrlCorrelator
-
- SqrlCorrelator(String, Date) - Constructor for class com.github.dbadia.sqrl.server.data.SqrlCorrelator
-
- SqrlDebugException - Exception in com.github.dbadia.sqrl.server.exception
-
Exception that is created for the sole purpose of showing a call trace.
- SqrlDebugException() - Constructor for exception com.github.dbadia.sqrl.server.exception.SqrlDebugException
-
- SqrlDisabledUserException - Exception in com.github.dbadia.sqrl.server.exception
-
Indicates that the SQRL user exists, but is currently disabled per the SQRL protocol
- SqrlDisabledUserException(String) - Constructor for exception com.github.dbadia.sqrl.server.exception.SqrlDisabledUserException
-
- SqrlException - Exception in com.github.dbadia.sqrl.server.util
-
SQRL exception class
- SqrlException(String, Throwable) - Constructor for exception com.github.dbadia.sqrl.server.util.SqrlException
- SqrlException(String) - Constructor for exception com.github.dbadia.sqrl.server.util.SqrlException
- SqrlFlag - Enum in com.github.dbadia.sqrl.server
-
- SqrlIdentity - Class in com.github.dbadia.sqrl.server.data
-
Represents a users SQRL identity including a String id the users native app identity
- SqrlIdentity() - Constructor for class com.github.dbadia.sqrl.server.data.SqrlIdentity
-
- SqrlIdentity(String) - Constructor for class com.github.dbadia.sqrl.server.data.SqrlIdentity
-
- SqrlIllegalDataException - Exception in com.github.dbadia.sqrl.server.util
-
- SqrlIllegalDataException(String) - Constructor for exception com.github.dbadia.sqrl.server.util.SqrlIllegalDataException
-
- SqrlInvalidRequestException - Exception in com.github.dbadia.sqrl.server.exception
-
Indicates an invalid SQRL request was received
- SqrlInvalidRequestException(String, Throwable) - Constructor for exception com.github.dbadia.sqrl.server.exception.SqrlInvalidRequestException
-
- SqrlInvalidRequestException(String) - Constructor for exception com.github.dbadia.sqrl.server.exception.SqrlInvalidRequestException
-
- SqrlJpaEntityManagerMonitorTask() - Constructor for class com.github.dbadia.sqrl.server.data.SqrlJpaPersistenceProvider.SqrlJpaEntityManagerMonitorTask
-
- SqrlJpaPersistenceFactory - Class in com.github.dbadia.sqrl.server.data
-
- SqrlJpaPersistenceFactory() - Constructor for class com.github.dbadia.sqrl.server.data.SqrlJpaPersistenceFactory
-
- SqrlJpaPersistenceProvider - Class in com.github.dbadia.sqrl.server.data
-
The default implementation of
SqrlPersistence which uses JPA in order to provide SQL and no-SQL connectivity.
- SqrlJpaPersistenceProvider() - Constructor for class com.github.dbadia.sqrl.server.data.SqrlJpaPersistenceProvider
-
- SqrlJpaPersistenceProvider.SqrlJpaEntityManagerMonitorTask - Class in com.github.dbadia.sqrl.server.data
-
A task which periodically checks the state of various EntityManager instances to ensure they are being
closed properly by the library
- SqrlLoggingUtil - Class in com.github.dbadia.sqrl.server.backchannel
-
Internal use only.
- SqrlNutToken - Class in com.github.dbadia.sqrl.server.backchannel
-
The SQRL "Nut" one time use (nonce) token as described on https://www.grc.com/sqrl/server.htm
- SqrlNutToken(int, SqrlConfigOperations, int, long, int) - Constructor for class com.github.dbadia.sqrl.server.backchannel.SqrlNutToken
-
- SqrlNutToken(SqrlConfigOperations, String) - Constructor for class com.github.dbadia.sqrl.server.backchannel.SqrlNutToken
-
- SqrlNutTokenReplayedException - Exception in com.github.dbadia.sqrl.server.exception
-
Indicates that the one time use Nut token received from the SQRL client was already used in a previous request as
determined by SqrlPersistence#hasTokenBeenUsed(com.github.dbadia.sqrl.server.backchannel.Nut)
- SqrlNutTokenReplayedException(String) - Constructor for exception com.github.dbadia.sqrl.server.exception.SqrlNutTokenReplayedException
- SqrlNutTokenUtil - Class in com.github.dbadia.sqrl.server.backchannel
-
- SqrlPersistence - Interface in com.github.dbadia.sqrl.server
-
Bridge between the SQRL library and the persistence layer (database, etc)
- SqrlPersistenceCleanupTask - Class in com.github.dbadia.sqrl.server.data
-
- SqrlPersistenceCleanupTask(SqrlPersistenceFactory) - Constructor for class com.github.dbadia.sqrl.server.data.SqrlPersistenceCleanupTask
-
- SqrlPersistenceException - Exception in com.github.dbadia.sqrl.server.exception
-
Indicates a problem (such as data corruption, inaccessibility, etc) with the web apps
SqrlPersistence; note
that, in keeping with the semantics of JPA, this is a
RuntimeException
- SqrlPersistenceException(String) - Constructor for exception com.github.dbadia.sqrl.server.exception.SqrlPersistenceException
-
- SqrlPersistenceFactory - Interface in com.github.dbadia.sqrl.server
-
- SqrlSanitize - Class in com.github.dbadia.sqrl.server.util
-
Helper class to ensure data coming from the Internet is sanitized against security vulnerabilities such as XSS.
- SqrlSanitize() - Constructor for class com.github.dbadia.sqrl.server.util.SqrlSanitize
-
- SqrlServerOperations - Class in com.github.dbadia.sqrl.server
-
The core SQRL class which processes all SQRL requests and generates the appropriates responses.
- SqrlServerOperations(SqrlConfig) - Constructor for class com.github.dbadia.sqrl.server.SqrlServerOperations
-
Initializes the operations class with the given config, defaulting to the built in JPA persisentce provider.
- SqrlServiceExecutor - Class in com.github.dbadia.sqrl.server.util
-
- SqrlServiceExecutor() - Constructor for class com.github.dbadia.sqrl.server.util.SqrlServiceExecutor
-
- SqrlTif - Class in com.github.dbadia.sqrl.server.backchannel
-
Valid values for the SQRL tif indicator, see https://www.grc.com/sqrl/semantics.htm
- SqrlTif.TifBuilder - Class in com.github.dbadia.sqrl.server.backchannel
-
- SqrlUsedNutToken - Class in com.github.dbadia.sqrl.server.data
-
- SqrlUsedNutToken() - Constructor for class com.github.dbadia.sqrl.server.data.SqrlUsedNutToken
-
- SqrlUsedNutToken(String, Date) - Constructor for class com.github.dbadia.sqrl.server.data.SqrlUsedNutToken
-
- SqrlUtil - Class in com.github.dbadia.sqrl.server.util
-
Various utility methods used by the rest of the SQRL code, including base64URL
- stopMonitoringCorrelator(String) - Method in class com.github.dbadia.sqrl.server.SqrlAuthStateMonitor
-
- storeSqrlDataForSqrlIdentity(String, Map<String, String>) - Method in class com.github.dbadia.sqrl.server.data.SqrlAutoCloseablePersistence
-
- storeSqrlDataForSqrlIdentity(String, Map<String, String>) - Method in class com.github.dbadia.sqrl.server.data.SqrlJpaPersistenceProvider
-
- storeSqrlDataForSqrlIdentity(String, Map<String, String>) - Method in interface com.github.dbadia.sqrl.server.SqrlPersistence
-
Indicates that we have received user specific data from the SQRL client that needs to be stored for the user;
NOTE this is often the first call made for a new SQRL identity, so if the identity does not currently
exist, it must be created
- TIF_BAD_ID_ASSOCIATION - Static variable in class com.github.dbadia.sqrl.server.backchannel.SqrlTif
-
Bad ID Association: This bit is set by the server when a SQRL identity which may be associated with the query nut
does not match the SQRL ID used to submit the query.
- TIF_CLIENT_FAILURE - Static variable in class com.github.dbadia.sqrl.server.backchannel.SqrlTif
-
Client failure: This bit is set by the server when some aspect of the client's submitted query ‑ other than
expired but otherwise valid transaction state information ‑ was incorrect and prevented the server from
understanding and/or completing the requested action.
- TIF_COMMAND_FAILED - Static variable in class com.github.dbadia.sqrl.server.backchannel.SqrlTif
-
Command failed: When set, this bit indicates that the web server has encountered a problem successfully
processing the client's query.
- TIF_CURRENT_ID_MATCH - Static variable in class com.github.dbadia.sqrl.server.backchannel.SqrlTif
-
(Current) ID match: When set, this bit indicates that the web server has found an identity association for the
user based upon the default (current) identity credentials supplied by the client: the IDentity Key (idk) and the
IDentity Signature (ids).
- TIF_DEPRECATED_INVALID_LINK_ORIGIN - Static variable in class com.github.dbadia.sqrl.server.backchannel.SqrlTif
-
- TIF_DEPRECATED_SUPRESS_SFN_ORIGIN - Static variable in class com.github.dbadia.sqrl.server.backchannel.SqrlTif
-
- TIF_FUNCTIONS_NOT_SUPPORTED - Static variable in class com.github.dbadia.sqrl.server.backchannel.SqrlTif
-
Function(s) not supported: This bit indicates that the client requested one or more SQRL functions (through
command verbs) that the server does not currently support.
- TIF_IPS_MATCHED - Static variable in class com.github.dbadia.sqrl.server.backchannel.SqrlTif
-
IPs matched: When set, this bit indicates that the IP address of the entity which requested the initial logon web
page containing the SQRL link URL (and probably encoded into the SQRL link URL's “nut”) is the same IP address
from which the SQRL client's query was received for this reply.
- TIF_PREVIOUS_ID_MATCH - Static variable in class com.github.dbadia.sqrl.server.backchannel.SqrlTif
-
Previous ID match: When set, this bit indicates that the web server has found an identity association for the
user based upon the previous identity credentials supplied by the client in the previous IDentity Key (pidk) and
the previous IDentity Signature (pids).
- TIF_SQRL_DISABLED - Static variable in class com.github.dbadia.sqrl.server.backchannel.SqrlTif
-
SQRL disabled: When set, this bit indicates that SQRL authentication for this identity has previously been
disabled.
- TIF_TRANSIENT_ERROR - Static variable in class com.github.dbadia.sqrl.server.backchannel.SqrlTif
-
Transient error: The server replies with this bit set to indicate that the client's signature(s) are correct, but
something about the client's query prevented the command from completing.
- TifBuilder(boolean) - Constructor for class com.github.dbadia.sqrl.server.backchannel.SqrlTif.TifBuilder
-
- TifBuilder() - Constructor for class com.github.dbadia.sqrl.server.backchannel.SqrlTif.TifBuilder
-
- toBase64() - Method in class com.github.dbadia.sqrl.server.backchannel.SqrlClientReply
-
- toHexInt() - Method in class com.github.dbadia.sqrl.server.backchannel.SqrlTif
-
- toInt() - Method in class com.github.dbadia.sqrl.server.backchannel.SqrlTif
-
- toString() - Method in class com.github.dbadia.sqrl.server.backchannel.SqrlNutToken
-
- toString() - Method in class com.github.dbadia.sqrl.server.backchannel.SqrlTif
-
- toString() - Method in class com.github.dbadia.sqrl.server.data.SqrlCorrelator
-
- toString() - Method in class com.github.dbadia.sqrl.server.data.SqrlIdentity
-
- toString() - Method in class com.github.dbadia.sqrl.server.util.SelfExpiringHashMap
-
- TRANSIENT_NAME_SERVER_PARROT - Static variable in class com.github.dbadia.sqrl.server.util.SqrlConstants
-