Skip navigation links
A C D E F G H I L M O P R S T U V W 

A

ACCESS_TOKEN_PATH - Static variable in class com.perforce.workshop.tjuricek.p4oauth.controllers.AccessTokenPost
 
AccessToken - Class in com.perforce.workshop.tjuricek.p4oauth.models
When we "grant" access, we generate one of these.
AccessToken() - Constructor for class com.perforce.workshop.tjuricek.p4oauth.models.AccessToken
 
AccessTokenPost - Class in com.perforce.workshop.tjuricek.p4oauth.controllers
Handle access token requests.
AccessTokenPost(Function<HttpServletRequest, HttpServletRequestHelper>, Supplier<CodeService>) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.controllers.AccessTokenPost
 
AccessTokenResponse - Class in com.perforce.workshop.tjuricek.p4oauth.controllers
The bean we turn into json for the response from a successful call to the AccessTokenPost controller.
AccessTokenResponse() - Constructor for class com.perforce.workshop.tjuricek.p4oauth.controllers.AccessTokenResponse
 
AccessTokenResult - Class in com.perforce.workshop.tjuricek.p4oauth.services
Encapsulate responses to deal with creating access tokens.
AccessTokenResult() - Constructor for class com.perforce.workshop.tjuricek.p4oauth.services.AccessTokenResult
 
AccessTokenResult.AccessTokenError - Enum in com.perforce.workshop.tjuricek.p4oauth.services
 
addToken(Token) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
 
AUTH_CODE_PATH - Static variable in class com.perforce.workshop.tjuricek.p4oauth.controllers.AuthorizationStartGet
 
AUTH_FINISH_PATH - Static variable in class com.perforce.workshop.tjuricek.p4oauth.controllers.AuthorizationFinishPost
 
authenticateCodeRequest(String, String, String) - Method in class com.perforce.workshop.tjuricek.p4oauth.services.CodeService
Handles local log-in from the user.
AuthorizationCode - Class in com.perforce.workshop.tjuricek.p4oauth.models
The authorization code is generated after we know the user has given our application the right credentials to p4d.
AuthorizationCode() - Constructor for class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
 
AuthorizationCode(String, String, String, long) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
 
AuthorizationCodeStore - Class in com.perforce.workshop.tjuricek.p4oauth.storage
Implements reading and writing various AuthorizationCodes.
AuthorizationCodeStore(P4OAuthConfig) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.storage.AuthorizationCodeStore
 
AuthorizationFinishPost - Class in com.perforce.workshop.tjuricek.p4oauth.controllers
Called back by the login page directly, to generate the next request to the CodeService to basically generate the authorization code.
AuthorizationFinishPost(Function<HttpServletRequest, HttpServletRequestHelper>, Supplier<CodeService>, Supplier<UrlFactory>) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.controllers.AuthorizationFinishPost
 
AuthorizationStartGet - Class in com.perforce.workshop.tjuricek.p4oauth.controllers
Perform the "code" authorization request.
AuthorizationStartGet(Function<HttpServletRequest, HttpServletRequestHelper>, Supplier<CodeService>, Supplier<UrlFactory>) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.controllers.AuthorizationStartGet
 

C

code(String) - Static method in class com.perforce.workshop.tjuricek.p4oauth.services.CodeResult
 
CodeError - Enum in com.perforce.workshop.tjuricek.p4oauth.services
 
CodeResult - Class in com.perforce.workshop.tjuricek.p4oauth.services
Encapsulate responses to the authenticateCodeResult method.
CodeResult() - Constructor for class com.perforce.workshop.tjuricek.p4oauth.services.CodeResult
 
CodeService - Class in com.perforce.workshop.tjuricek.p4oauth.services
 
CodeService(Supplier<WhitelistStore>, Supplier<IOptionsServer>, Supplier<AuthorizationCodeStore>) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.services.CodeService
 
com.perforce.workshop.tjuricek.p4oauth - package com.perforce.workshop.tjuricek.p4oauth
 
com.perforce.workshop.tjuricek.p4oauth.config - package com.perforce.workshop.tjuricek.p4oauth.config
 
com.perforce.workshop.tjuricek.p4oauth.controllers - package com.perforce.workshop.tjuricek.p4oauth.controllers
 
com.perforce.workshop.tjuricek.p4oauth.jetty - package com.perforce.workshop.tjuricek.p4oauth.jetty
 
com.perforce.workshop.tjuricek.p4oauth.models - package com.perforce.workshop.tjuricek.p4oauth.models
 
com.perforce.workshop.tjuricek.p4oauth.services - package com.perforce.workshop.tjuricek.p4oauth.services
 
com.perforce.workshop.tjuricek.p4oauth.storage - package com.perforce.workshop.tjuricek.p4oauth.storage
 
com.perforce.workshop.tjuricek.p4oauth.util - package com.perforce.workshop.tjuricek.p4oauth.util
 
ControllerMethod - Interface in com.perforce.workshop.tjuricek.p4oauth.controllers
Controllers in this application are basic functional objects with the following interface that basically have a simple lifetime.
create(String, String) - Static method in class com.perforce.workshop.tjuricek.p4oauth.controllers.AccessTokenResponse
 
create(String, String) - Static method in class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
Generates a new authorization code for the redirectUri and client.
createAccessToken(String, String, String) - Method in class com.perforce.workshop.tjuricek.p4oauth.services.CodeService
 
createAuthRedirect(String, String, String) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.UrlFactory
 

D

delete(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.storage.AuthorizationCodeStore
 

E

ensureParentExists(File) - Method in interface com.perforce.workshop.tjuricek.p4oauth.storage.FilesystemStore
 
equals(Object) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
equals(Object) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.PerforceConfig
 
equals(Object) - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.AccessTokenResponse
 
equals(Object) - Method in class com.perforce.workshop.tjuricek.p4oauth.jetty.MethodParams
 
equals(Object) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AccessToken
 
equals(Object) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
 
equals(Object) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Token
 
equals(Object) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Whitelist
 
equals(Object) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.WhitelistedServer
 
equals(Object) - Method in class com.perforce.workshop.tjuricek.p4oauth.services.AccessTokenResult
 
equals(Object) - Method in class com.perforce.workshop.tjuricek.p4oauth.util.HttpServletRequestHelper
 
error(AccessTokenResult.AccessTokenError) - Static method in class com.perforce.workshop.tjuricek.p4oauth.services.AccessTokenResult
 
error(CodeError) - Static method in class com.perforce.workshop.tjuricek.p4oauth.services.CodeResult
 

F

FilesystemStore - Interface in com.perforce.workshop.tjuricek.p4oauth.storage
Most of our "stores" really just sit on top of a file system structure.
findToken(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AccessToken
 
forAuthCode(AuthorizationCode) - Static method in class com.perforce.workshop.tjuricek.p4oauth.models.AccessToken
 

G

get() - Method in class com.perforce.workshop.tjuricek.p4oauth.storage.IOptionsServerSupplier
 
get() - Method in class com.perforce.workshop.tjuricek.p4oauth.util.ThreadMemoizingSupplier
Will always fire the wrapped supplier and return the value, which is then cached on the thread.
getAccess_token() - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.AccessTokenResponse
 
getAccessToken() - Method in class com.perforce.workshop.tjuricek.p4oauth.services.AccessTokenResult
 
getAuthorizationCode() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
 
getCached() - Method in class com.perforce.workshop.tjuricek.p4oauth.util.ThreadMemoizingSupplier
Returns the cached type.
getClientId() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
 
getCode() - Method in class com.perforce.workshop.tjuricek.p4oauth.services.CodeResult
 
getCodeFile(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.storage.AuthorizationCodeStore
 
getConfig() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.UrlFactory
 
getConfig() - Method in class com.perforce.workshop.tjuricek.p4oauth.storage.AuthorizationCodeStore
 
getConfig() - Method in interface com.perforce.workshop.tjuricek.p4oauth.storage.FilesystemStore
The stores must have access to the application configuration.
getConfig() - Method in class com.perforce.workshop.tjuricek.p4oauth.storage.WhitelistStore
 
getConfig() - Method in class com.perforce.workshop.tjuricek.p4oauth.util.HttpServletRequestHelper
 
getConfig() - Method in interface com.perforce.workshop.tjuricek.p4oauth.util.RequestQueryUtils
 
getContextRoot() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
By default, empty, can be set to a root context path.
getCreated() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AccessToken
 
getCreated() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
 
getCreated() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Token
When this token was created.
getError() - Method in class com.perforce.workshop.tjuricek.p4oauth.services.AccessTokenResult
 
getError() - Method in class com.perforce.workshop.tjuricek.p4oauth.services.CodeResult
 
getException() - Method in class com.perforce.workshop.tjuricek.p4oauth.jetty.ServerRunnable
 
getFile(String...) - Method in interface com.perforce.workshop.tjuricek.p4oauth.storage.FilesystemStore
Returns the path to the file based on our configured rootDirectory.
getHeader(String) - Method in interface com.perforce.workshop.tjuricek.p4oauth.util.RequestQueryUtils
Fetches the header value, but wraps it in an Optional for easier processing.
getHostname() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
getHostname() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.PerforceConfig
 
getHttpIdleTimeout() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
getHttpPort() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
Defaults to 8080, the standard (non-SSL) HTTP port.
getHttpServletRequest() - Method in class com.perforce.workshop.tjuricek.p4oauth.util.HttpServletRequestHelper
 
getHttpServletRequest() - Method in interface com.perforce.workshop.tjuricek.p4oauth.util.RequestQueryUtils
 
getHttpsIdleTimeout() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
getHttpsPort() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
Defaults to 8443, the HTTPS port where almost all real features take place.
getId() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AccessToken
 
getIpAddress() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Token
The IP address of the server we should have generated the token for.
getIpAddress() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.WhitelistedServer
 
getKeyManagerPassword() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
getKeyStorePassword() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
getKeyStorePath() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
getLoginUrl(String, String, String) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.UrlFactory
 
getName() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.WhitelistedServer
 
getOrSendError(HttpServletRequestHelper, String, HttpServletResponse) - Method in interface com.perforce.workshop.tjuricek.p4oauth.controllers.ControllerMethod
 
getP4OAuthUrl() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.UrlFactory
 
getParam(String) - Method in interface com.perforce.workshop.tjuricek.p4oauth.util.RequestQueryUtils
Fetches the parameter value, but wraps it in an Optional for easier processing.
getPerforce() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
getPerforce_token() - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.AccessTokenResponse
 
getPerforceToken() - Method in class com.perforce.workshop.tjuricek.p4oauth.services.AccessTokenResult
 
getPort() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.PerforceConfig
 
getRedirectUri() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
This is the redirectUri used for the originating authorization code request.
getRedirectUri() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Token
The redirectUri that will be sent in by the user to get the next token.
getRedirectUri() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.WhitelistedServer
 
getRequest() - Method in class com.perforce.workshop.tjuricek.p4oauth.jetty.MethodParams
 
getResponse() - Method in class com.perforce.workshop.tjuricek.p4oauth.jetty.MethodParams
 
getRootDirectory() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
getServers() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Whitelist
 
getTemplateDirectory() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
If you've set cacheTemplates to false, you'll likely need this set to the resource folder, because otherwise it's likely that the classpath loaders will cache the data of your templates anyway.
getToken() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Token
The perforce token that can be used in place of the password.
getToken_type() - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.AccessTokenResponse
 
getTokens() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AccessToken
 
getTokens() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
 
getWhitelistFile() - Method in class com.perforce.workshop.tjuricek.p4oauth.storage.WhitelistStore
 
getWrapped() - Method in class com.perforce.workshop.tjuricek.p4oauth.util.ThreadMemoizingSupplier
Returns the underlying supplier used to fetch the value.

H

handle(HttpServletRequest, HttpServletResponse) - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.AccessTokenPost
 
handle(HttpServletRequest, HttpServletResponse) - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.AuthorizationFinishPost
Note that the "matches" method pretty much just checks the path, because we validate most of the request here.
handle(HttpServletRequest, HttpServletResponse) - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.AuthorizationStartGet
 
handle(HttpServletRequest, HttpServletResponse) - Method in interface com.perforce.workshop.tjuricek.p4oauth.controllers.ControllerMethod
Executes the controller call, writing out (and closing) the response.
handle(HttpServletRequest, HttpServletResponse) - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.LoginGet
 
handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class com.perforce.workshop.tjuricek.p4oauth.jetty.LoggingHandlers.LogEndHandler
 
handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class com.perforce.workshop.tjuricek.p4oauth.jetty.LoggingHandlers.LogStartHandler
 
handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class com.perforce.workshop.tjuricek.p4oauth.jetty.OAuthHandler
 
handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class com.perforce.workshop.tjuricek.p4oauth.jetty.OptionsServerReleaseHandler
 
hasError() - Method in class com.perforce.workshop.tjuricek.p4oauth.services.AccessTokenResult
 
hasError() - Method in class com.perforce.workshop.tjuricek.p4oauth.services.CodeResult
 
hashCode() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
hashCode() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.PerforceConfig
 
hashCode() - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.AccessTokenResponse
 
hashCode() - Method in class com.perforce.workshop.tjuricek.p4oauth.jetty.MethodParams
 
hashCode() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AccessToken
 
hashCode() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
 
hashCode() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Token
 
hashCode() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Whitelist
 
hashCode() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.WhitelistedServer
 
hashCode() - Method in class com.perforce.workshop.tjuricek.p4oauth.services.AccessTokenResult
 
hashCode() - Method in class com.perforce.workshop.tjuricek.p4oauth.util.HttpServletRequestHelper
 
hasMethod(String) - Method in interface com.perforce.workshop.tjuricek.p4oauth.util.RequestQueryUtils
Return true if the wrapped request has the indicated method.
HttpServletRequestHelper - Class in com.perforce.workshop.tjuricek.p4oauth.util
 
HttpServletRequestHelper(HttpServletRequest, P4OAuthConfig) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.util.HttpServletRequestHelper
 

I

IOptionsServerSupplier - Class in com.perforce.workshop.tjuricek.p4oauth.storage
Uses a local object pool of threads to reuse IOptionsServer instances.
IOptionsServerSupplier(P4OAuthConfig) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.storage.IOptionsServerSupplier
 
isCacheTemplates() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
isFailed() - Method in class com.perforce.workshop.tjuricek.p4oauth.jetty.ServerRunnable
Set to true if run() finishes with an exception.
isSsl() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.PerforceConfig
 
isWhitelisted(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Whitelist
 

L

load(String) - Static method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
Search rules are:

Direct reference (probably a program argument) An xml file indicated by the P4OAuthConfig system property A file named P4OAuthConfig.yml in the current working directory

Note that you must configure the SSL settings at a minimum.

LogEndHandler() - Constructor for class com.perforce.workshop.tjuricek.p4oauth.jetty.LoggingHandlers.LogEndHandler
 
LoggingHandlers - Class in com.perforce.workshop.tjuricek.p4oauth.jetty
 
LoggingHandlers() - Constructor for class com.perforce.workshop.tjuricek.p4oauth.jetty.LoggingHandlers
 
LoggingHandlers.LogEndHandler - Class in com.perforce.workshop.tjuricek.p4oauth.jetty
 
LoggingHandlers.LogStartHandler - Class in com.perforce.workshop.tjuricek.p4oauth.jetty
 
LOGIN_PATH - Static variable in class com.perforce.workshop.tjuricek.p4oauth.controllers.LoginGet
 
LoginGet - Class in com.perforce.workshop.tjuricek.p4oauth.controllers
The authorization mechanism will pretty much always go to this method to present a login page to collect the p4d login and password.
LoginGet(P4OAuthConfig, Function<HttpServletRequest, HttpServletRequestHelper>) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.controllers.LoginGet
 
LogStartHandler() - Constructor for class com.perforce.workshop.tjuricek.p4oauth.jetty.LoggingHandlers.LogStartHandler
 

M

main(String[]) - Static method in class com.perforce.workshop.tjuricek.p4oauth.P4OAuth
 
matches(HttpServletRequest) - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.AccessTokenPost
 
matches(HttpServletRequest) - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.AuthorizationFinishPost
 
matches(HttpServletRequest) - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.AuthorizationStartGet
 
matches(HttpServletRequest) - Method in interface com.perforce.workshop.tjuricek.p4oauth.controllers.ControllerMethod
If this returns true, assume that this method should probably be called back.
matches(HttpServletRequest) - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.LoginGet
 
MethodParams - Class in com.perforce.workshop.tjuricek.p4oauth.jetty
The information passed into one of our registered method handlers.
MethodParams() - Constructor for class com.perforce.workshop.tjuricek.p4oauth.jetty.MethodParams
 
MethodParams(HttpServletRequest, HttpServletResponse) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.jetty.MethodParams
 

O

OAuthHandler - Class in com.perforce.workshop.tjuricek.p4oauth.jetty
One of the main handlers we use.
OAuthHandler(Supplier<AuthorizationStartGet>, Supplier<LoginGet>, Supplier<AuthorizationFinishPost>, Supplier<AccessTokenPost>) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.jetty.OAuthHandler
The OAuthHandler is constructed with the underlying controller methods it requires.
OptionsServerReleaseHandler - Class in com.perforce.workshop.tjuricek.p4oauth.jetty
Should be the last handler called, which will release any allocated IOptionsServer back into the thread pool.
OptionsServerReleaseHandler(ThreadMemoizingSupplier<IOptionsServer>) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.jetty.OptionsServerReleaseHandler
 

P

P4OAuth - Class in com.perforce.workshop.tjuricek.p4oauth
The main startup method for the class.
P4OAuth() - Constructor for class com.perforce.workshop.tjuricek.p4oauth.P4OAuth
 
P4OAuthConfig - Class in com.perforce.workshop.tjuricek.p4oauth.config
Top level configuration object.
paramEquals(String, String) - Method in interface com.perforce.workshop.tjuricek.p4oauth.util.RequestQueryUtils
Returns true if the wrapped request has the specified parameter with the indicated string value.
paramNotEmpty(String) - Method in interface com.perforce.workshop.tjuricek.p4oauth.util.RequestQueryUtils
Returns true if the indicated parameter is not empty.
pathStartsWith(String) - Method in interface com.perforce.workshop.tjuricek.p4oauth.util.RequestQueryUtils
 
PerforceConfig - Class in com.perforce.workshop.tjuricek.p4oauth.config
 
PerforceConfig() - Constructor for class com.perforce.workshop.tjuricek.p4oauth.config.PerforceConfig
 

R

read(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.storage.AuthorizationCodeStore
 
read() - Method in class com.perforce.workshop.tjuricek.p4oauth.storage.WhitelistStore
 
readYamlFile(Class<T>, File) - Method in interface com.perforce.workshop.tjuricek.p4oauth.storage.FilesystemStore
 
release(IOptionsServer) - Method in class com.perforce.workshop.tjuricek.p4oauth.storage.IOptionsServerSupplier
 
release() - Method in class com.perforce.workshop.tjuricek.p4oauth.util.ThreadMemoizingSupplier
 
RequestQueryUtils - Interface in com.perforce.workshop.tjuricek.p4oauth.util
A bunch of additional "query methods" we add to the HttpServletRequest via the HttpServletRequestHelper wrapping object.
run() - Method in class com.perforce.workshop.tjuricek.p4oauth.jetty.ServerRunnable
 

S

ServerRunnable - Class in com.perforce.workshop.tjuricek.p4oauth.jetty
Manages the main embedded Jetty server instance
ServerRunnable(P4OAuthConfig, Supplier<OAuthHandler>, Supplier<OptionsServerReleaseHandler>) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.jetty.ServerRunnable
 
setAccess_token(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.AccessTokenResponse
 
setAccessToken(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.services.AccessTokenResult
 
setAuthorizationCode(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
 
setCacheTemplates(boolean) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
setClientId(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
 
setCode(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.services.CodeResult
 
setConfig(P4OAuthConfig) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.UrlFactory
 
setConfig(P4OAuthConfig) - Method in class com.perforce.workshop.tjuricek.p4oauth.util.HttpServletRequestHelper
 
setContextRoot(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
setCreated(long) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AccessToken
 
setCreated(long) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
 
setCreated(long) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Token
 
setError(AccessTokenResult.AccessTokenError) - Method in class com.perforce.workshop.tjuricek.p4oauth.services.AccessTokenResult
 
setError(CodeError) - Method in class com.perforce.workshop.tjuricek.p4oauth.services.CodeResult
 
setHostname(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
setHostname(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.PerforceConfig
 
setHttpIdleTimeout(long) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
setHttpPort(int) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
setHttpServletRequest(HttpServletRequest) - Method in class com.perforce.workshop.tjuricek.p4oauth.util.HttpServletRequestHelper
 
setHttpsIdleTimeout(long) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
setHttpsPort(int) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
setId(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AccessToken
 
setIpAddress(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Token
 
setIpAddress(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.WhitelistedServer
 
setKeyManagerPassword(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
setKeyStorePassword(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
setKeyStorePath(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
setName(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.WhitelistedServer
 
setPerforce(PerforceConfig) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
setPerforce_token(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.AccessTokenResponse
 
setPerforceToken(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.services.AccessTokenResult
 
setPort(int) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.PerforceConfig
 
setRedirectUri(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
 
setRedirectUri(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Token
 
setRedirectUri(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.WhitelistedServer
 
setRequest(HttpServletRequest) - Method in class com.perforce.workshop.tjuricek.p4oauth.jetty.MethodParams
 
setResponse(HttpServletResponse) - Method in class com.perforce.workshop.tjuricek.p4oauth.jetty.MethodParams
 
setRootDirectory(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
setServers(List<WhitelistedServer>) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Whitelist
 
setSsl(boolean) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.PerforceConfig
 
setTemplateDirectory(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
setToken(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Token
 
setToken_type(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.AccessTokenResponse
 
setTokens(Collection<Token>) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AccessToken
 
setTokens(Collection<Token>) - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
 
startCodeRequest(String) - Method in class com.perforce.workshop.tjuricek.p4oauth.services.CodeService
Generates an authorization code for the user, appropriate for the redirectUrl.
success(String, String) - Static method in class com.perforce.workshop.tjuricek.p4oauth.services.AccessTokenResult
 

T

ThreadMemoizingSupplier<T> - Class in com.perforce.workshop.tjuricek.p4oauth.util
Wraps a Supplier with thread local caching.
ThreadMemoizingSupplier(Supplier<T>) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.util.ThreadMemoizingSupplier
 
Token - Class in com.perforce.workshop.tjuricek.p4oauth.models
Stores the saved p4d token for the user and request URI (which is bound to a specific IP address).
Token() - Constructor for class com.perforce.workshop.tjuricek.p4oauth.models.Token
 
Token(String, String, String) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.models.Token
 
toString() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
 
toString() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.PerforceConfig
 
toString() - Method in class com.perforce.workshop.tjuricek.p4oauth.controllers.AccessTokenResponse
 
toString() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AccessToken
 
toString() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.AuthorizationCode
 
toString() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Token
 
toString() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.Whitelist
 
toString() - Method in class com.perforce.workshop.tjuricek.p4oauth.models.WhitelistedServer
 
toString() - Method in class com.perforce.workshop.tjuricek.p4oauth.services.AccessTokenResult
 
toString() - Method in class com.perforce.workshop.tjuricek.p4oauth.util.HttpServletRequestHelper
 

U

update(AuthorizationCode) - Method in class com.perforce.workshop.tjuricek.p4oauth.storage.AuthorizationCodeStore
 
update(Whitelist) - Method in class com.perforce.workshop.tjuricek.p4oauth.storage.WhitelistStore
 
UrlFactory - Class in com.perforce.workshop.tjuricek.p4oauth.config
 
UrlFactory(P4OAuthConfig) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.config.UrlFactory
 

V

validate() - Method in class com.perforce.workshop.tjuricek.p4oauth.config.P4OAuthConfig
Double checks that the configuration is actually set, and if there's any issues at all, to log them.
valueOf(String) - Static method in enum com.perforce.workshop.tjuricek.p4oauth.services.AccessTokenResult.AccessTokenError
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.perforce.workshop.tjuricek.p4oauth.services.CodeError
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.perforce.workshop.tjuricek.p4oauth.services.AccessTokenResult.AccessTokenError
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.perforce.workshop.tjuricek.p4oauth.services.CodeError
Returns an array containing the constants of this enum type, in the order they are declared.

W

Whitelist - Class in com.perforce.workshop.tjuricek.p4oauth.models
 
Whitelist() - Constructor for class com.perforce.workshop.tjuricek.p4oauth.models.Whitelist
 
WhitelistedServer - Class in com.perforce.workshop.tjuricek.p4oauth.models
 
WhitelistedServer() - Constructor for class com.perforce.workshop.tjuricek.p4oauth.models.WhitelistedServer
 
WhitelistStore - Class in com.perforce.workshop.tjuricek.p4oauth.storage
Right now, the whitelist is read into our whitelist model in memory.
WhitelistStore(P4OAuthConfig) - Constructor for class com.perforce.workshop.tjuricek.p4oauth.storage.WhitelistStore
 
writeYamlFile(Object, File) - Method in interface com.perforce.workshop.tjuricek.p4oauth.storage.FilesystemStore
 
A C D E F G H I L M O P R S T U V W 
Skip navigation links