Class OA2ClientEnvironment

  • All Implemented Interfaces:
    edu.uiuc.ncsa.security.core.Logable

    public class OA2ClientEnvironment
    extends ClientEnvironment

    Created by Jeff Gaynor
    on 11/25/13 at 4:23 PM

    • Constructor Detail

      • OA2ClientEnvironment

        public OA2ClientEnvironment​(URI accessTokenUri,
                                    URI authorizationUri,
                                    URI callback,
                                    long certLifetime,
                                    String clientId,
                                    DelegationService delegationService,
                                    URI resourceServerUri,
                                    TokenForge tokenForge,
                                    AssetStore assetStore,
                                    boolean showRedirectPage,
                                    String errorPagePath,
                                    String redirectPagePath,
                                    String successPagePath,
                                    boolean oidcEnabled,
                                    boolean showIDToken,
                                    boolean useBasicAuth,
                                    URI deviceAuthorizationUri,
                                    edu.uiuc.ncsa.security.core.util.MetaDebugUtil metaDebugUtil)
      • OA2ClientEnvironment

        public OA2ClientEnvironment​(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger,
                                    Map<String,​String> constants,
                                    URI accessTokenUri,
                                    URI authorizationUri,
                                    URI callback,
                                    URI initializeURI,
                                    URI resourceServerUri,
                                    long certLifetime,
                                    String clientId,
                                    String skin,
                                    boolean enableAssetCleanup,
                                    long maxAssetLifetime,
                                    long keypairLifetime,
                                    AssetProvider assetProvider,
                                    javax.inject.Provider<Client> clientProvider,
                                    javax.inject.Provider<TokenForge> tokenForgeProvider,
                                    javax.inject.Provider<DelegationService> delegationServiceProvider,
                                    javax.inject.Provider<AssetStore> assetStoreProvider,
                                    boolean showRedirectPage,
                                    String errorPagePath,
                                    String redirectPagePath,
                                    String successPagePath,
                                    String secret,
                                    Collection<String> scopes,
                                    String wellKnownURI,
                                    boolean oidcEnabled,
                                    boolean showIDToken,
                                    boolean useBasicAuth,
                                    Map<String,​List<String>> additionalParameters,
                                    URI deviceAuthorizationUri,
                                    edu.uiuc.ncsa.security.core.util.MetaDebugUtil metaDebugUtil)
    • Method Detail

      • getDeviceAuthorizationUri

        public URI getDeviceAuthorizationUri()
      • setDeviceAuthorizationUri

        public void setDeviceAuthorizationUri​(URI deviceAuthorizationUri)
      • setAdditionalParameters

        public void setAdditionalParameters​(Map<String,​List<String>> additionalParameters)
      • isUseBasicAuth

        public boolean isUseBasicAuth()
      • scopesToString

        public String scopesToString()
      • getWellKnownURI

        public String getWellKnownURI()
      • isOidcEnabled

        public boolean isOidcEnabled()
      • isShowIDToken

        public boolean isShowIDToken()
        If the user enables showing the ID token, then information to be displayed on the success page will be put in to the response.
        Returns:
      • getMetaDebugUtil

        public edu.uiuc.ncsa.security.core.util.MetaDebugUtil getMetaDebugUtil()
      • setMetaDebugUtil

        public void setMetaDebugUtil​(edu.uiuc.ncsa.security.core.util.MetaDebugUtil metaDebugUtil)