Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

1.0 Configuration Changes & Additions Guide

Micah Silverman edited this page Feb 9, 2017 · 19 revisions

Background

The 1.0 release of the Java SDK and its Integrations introduces a number of new configuration properties. It also renames a number of existing properties. These are enumerated here.

Changes

Prior to 1.0 New as of 1.0
stormpath.web.accessToken.* stormpath.web.oauth2.*
stormpath.web.forgot.* stormpath.web.forgotPassword.*
stormpath.web.change.* stormpath.web.changePassword.*
stormpath.web.verify.* stormpath.web.verifyEmail.*
stormpath.web.idSite.login.uri stormpath.web.idSite.loginUri
stormpath.web.idSite.register.uri stormpath.web.idSite.registerUri
stormpath.web.idSite.forgot.uri stormpath.web.idSite.forgotUri
stormpath.web.idSite.result.uri stormpath.web.idSite.resultUri
stormpath.web.saml.enabled stormpath.web.callback.enabled
stormpath.web.saml.result.uri stormpath.web.callback.uri
stormpath.baseUrl stormpath.client.baseUrl
stormpath.apiKey.* stormpath.client.apiKey.*
stormpath.cache.* stormpath.client.cacheManager.*
stormpath.cache.enabled stormpath.client.cacheManager.enabled
stormpath.cache.manager stormpath.client.cacheManager
stormpath.cache.com.
stormpath.sdk.servlet.nonces.ttl
stormpath.client.cacheManager.
caches.com.stormpath.sdk.servlet.nonces.ttl
stormpath.proxy.* stormpath.client.proxy.*
stormpath.connectionTimeout stormpath.client.connectionTimeout
stormpath.authentication.scheme stormpath.client.authenticationScheme
stormpath.web.register.form.fields see Form Fields documentation

Additions

  • stormpath.web.register.enabled
  • stormpath.web.produces
  • stormpath.web.me.enabled
  • stormpath.web.me.uri

Not Supported

These are properties that the spec has that we don't currently support.

Not In Specification

These are properties that we currently support that are not in the spec.

Property Name Default Value
stormpath.client.cacheManager.caches.com.stormpath.sdk.servlet.nonces.ttl 3600000
stormpath.client.cacheManager com.stormpath.sdk.servlet.cache.config.DefaultCacheManagerFactory
stormpath.web.account.jwt.factory com.stormpath.sdk.servlet.filter.account.config.AuthenticationJwtFactoryFactory
stormpath.web.account.jwt.resolver com.stormpath.sdk.servlet.filter.account.config.JwtAccountResolverFactory
stormpath.web.account.jwt.signingKey.resolver com.stormpath.sdk.servlet.filter.account.DefaultJwtSigningKeyResolver
stormpath.web.account.resolvers header, cookie, session
stormpath.web.account.resolvers.cookie com.stormpath.sdk.servlet.filter.account.config.CookieAccountResolverFactory
stormpath.web.account.resolvers.header com.stormpath.sdk.servlet.filter.account.config.AuthorizationHeaderAccountResolverFactory
stormpath.web.account.resolvers.session com.stormpath.sdk.servlet.filter.account.SessionAccountResolver
stormpath.web.account.session.attribute.names com.stormpath.sdk.account.Account, account
stormpath.web.accountStoreResolver com.stormpath.sdk.servlet.http.authc.DisabledAccountStoreResolver
stormpath.web.application.domain null
stormpath.web.authc.saver com.stormpath.sdk.servlet.filter.account.config.AuthenticationResultSaverFactory
stormpath.web.authc.savers cookie
stormpath.web.authc.savers.cookie com.stormpath.sdk.servlet.filter.account.config.CookieAuthenticationResultSaverFactory
stormpath.web.authc.savers.session com.stormpath.sdk.servlet.filter.account.config.SessionAuthenticationResultSaverFactory
stormpath.web.authc.unauthenticatedHandler com.stormpath.sdk.servlet.filter.config.UnauthenticatedHandlerFactory
stormpath.web.authc.usernamePasswordRequestFactory com.stormpath.sdk.servlet.filter.config.UsernamePasswordRequestFactoryFactory
stormpath.web.authz.unauthorizedHandler com.stormpath.sdk.servlet.filter.config.UnauthorizedHandlerFactory
stormpath.web.csrf.token.manager com.stormpath.sdk.servlet.csrf.config.CsrfTokenManagerFactory
stormpath.web.csrf.token.name csrfToken
stormpath.web.csrf.token.ttl 3600000
stormpath.web.filter.chain.resolver com.stormpath.sdk.servlet.config.DefaultFilterChainResolverFactory
stormpath.web.http.authc com.stormpath.sdk.servlet.http.authc.config.HttpAuthenticatorFactory
stormpath.web.http.authc.challenge true
stormpath.web.http.authc.schemes basic, bearer
stormpath.web.http.authc.schemes.basic com.stormpath.sdk.servlet.http.authc.config.BasicAuthenticationSchemeFactory
stormpath.web.http.authc.schemes.bearer com.stormpath.sdk.servlet.http.authc.config.BearerAuthenticationSchemeFactory
stormpath.web.idSite.resultUri /idSiteResult
stormpath.web.idSite.showOrganizationField null
stormpath.web.idSite.useSubdomain null
stormpath.web.locale.resolver com.stormpath.sdk.servlet.i18n.DefaultLocaleResolver
stormpath.web.localhost.resolver com.stormpath.sdk.servlet.util.IsLocalhostResolver
stormpath.web.logout.invalidateHttpSession true
stormpath.web.message.source com.stormpath.sdk.servlet.i18n.DefaultMessageSource
stormpath.web.nonce.cache.name com.stormpath.sdk.servlet.nonces
stormpath.web.oauth2.authenticationRequestFactory com.stormpath.sdk.servlet.filter.oauth.config.AccessTokenAuthenticationRequestFactoryFactory
stormpath.web.oauth2.authorizer com.stormpath.sdk.servlet.filter.oauth.config.AccessTokenRequestAuthorizerFactory
stormpath.web.oauth2.authorizer.secure.resolver com.stormpath.sdk.servlet.config.SecureResolverFactory
stormpath.web.oauth2.origin.authorizer com.stormpath.sdk.servlet.filter.oauth.config.OriginAccessTokenRequestAuthorizerFactory
stormpath.web.oauth2.origin.authorizer.serverUriResolver com.stormpath.sdk.servlet.filter.DefaultServerUriResolver
stormpath.web.oauth2.resultFactory com.stormpath.sdk.servlet.filter.oauth.config.AccessTokenResultFactoryFactory
stormpath.web.oauth2.validationStrategy stormpath
stormpath.web.refreshToken.authenticationRequestFactory com.stormpath.sdk.servlet.filter.oauth.config.RefreshTokenAuthenticationRequestFactoryFactory
stormpath.web.refreshToken.resultFactory com.stormpath.sdk.servlet.filter.oauth.config.RefreshTokenResultFactoryFactory
stormpath.web.request.application.attributeNames application
stormpath.web.request.client.attributeNames client
stormpath.web.request.event.listener com.stormpath.sdk.servlet.event.RequestEventListenerAdapter
stormpath.web.request.event.publisher com.stormpath.sdk.servlet.event.impl.EventPublisherFactory
stormpath.web.request.factory com.stormpath.sdk.servlet.filter.config.StormpathServletRequestFactoryFactory
stormpath.web.request.remoteUser.strategy username
stormpath.web.request.userPrincipal.strategy account
stormpath.web.sendVerificationEmail.uri /sendVerificationEmail
stormpath.web.sendVerificationEmail.view stormpath/sendVerificationEmail
stormpath.web.unauthorized.uri /unauthorized
stormpath.web.uris./assets/css/custom.stormpath.css anon
stormpath.web.uris./assets/css/stormpath.css anon
stormpath.web.uris./assets/js/stormpath.js anon