Codota Logo
Association.isHmacSha256Supported
Code IndexAdd Codota to your IDE (free)

How to use
isHmacSha256Supported
method
in
org.openid4java.association.Association

Best Java code snippets using org.openid4java.association.Association.isHmacSha256Supported (Showing top 5 results out of 315)

  • Common ways to obtain Association
private void myMethod () {
Association a =
  • Codota IconString type;String handle;Association.generate(type, handle, expiryIn)
  • Codota IconServerAssociationStore serverAssociationStore;String handle;serverAssociationStore.load(handle)
  • Codota IconConsumerAssociationStore consumerAssociationStore;String opUrl;consumerAssociationStore.load(opUrl)
  • Smart code suggestions by Codota
}
origin: org.openid4java/openid4java

@Inject
public ConsumerManager(RealmVerifierFactory realmFactory, Discovery discovery,
  HttpFetcherFactory httpFetcherFactory)
{
  _realmVerifier = realmFactory.getRealmVerifierForConsumer();
  // don't verify own (RP) identity, disable RP discovery
  _realmVerifier.setEnforceRpId(false);
  _discovery = discovery;
  _httpFetcher = httpFetcherFactory.createFetcher(HttpRequestOptions.getDefaultOptionsForOpCalls());
  if (Association.isHmacSha256Supported())
    _prefAssocSessEnc = AssociationSessionType.DH_SHA256;
  else
    _prefAssocSessEnc = AssociationSessionType.DH_SHA1;
}
origin: com.cloudbees/openid4java-shaded

@Inject
public ConsumerManager(RealmVerifierFactory realmFactory, Discovery discovery,
  HttpFetcherFactory httpFetcherFactory)
{
  _realmVerifier = realmFactory.getRealmVerifierForConsumer();
  // don't verify own (RP) identity, disable RP discovery
  _realmVerifier.setEnforceRpId(false);
  _discovery = discovery;
  _httpFetcher = httpFetcherFactory.createFetcher(HttpRequestOptions.getDefaultOptionsForOpCalls());
  if (Association.isHmacSha256Supported())
    _prefAssocSessEnc = AssociationSessionType.DH_SHA256;
  else
    _prefAssocSessEnc = AssociationSessionType.DH_SHA1;
}
origin: org.openid4java/openid4java-nodeps

@Inject
public ConsumerManager(RealmVerifierFactory realmFactory, Discovery discovery,
  HttpFetcherFactory httpFetcherFactory)
{
  _realmVerifier = realmFactory.getRealmVerifierForConsumer();
  // don't verify own (RP) identity, disable RP discovery
  _realmVerifier.setEnforceRpId(false);
  _discovery = discovery;
  _httpFetcher = httpFetcherFactory.createFetcher(HttpRequestOptions.getDefaultOptionsForOpCalls());
  if (Association.isHmacSha256Supported())
    _prefAssocSessEnc = AssociationSessionType.DH_SHA256;
  else
    _prefAssocSessEnc = AssociationSessionType.DH_SHA1;
}
origin: org.wso2.org.openid4java/openid4java-nodeps

@Inject
public ConsumerManager(RealmVerifierFactory realmFactory, Discovery discovery,
            HttpFetcherFactory httpFetcherFactory) {
  _realmVerifier = realmFactory.getRealmVerifierForConsumer();
  // don't verify own (RP) identity, disable RP discovery
  _realmVerifier.setEnforceRpId(false);
  _discovery = discovery;
  _httpFetcher = httpFetcherFactory.createFetcher(HttpRequestOptions.getDefaultOptionsForOpCalls());
  if (Association.isHmacSha256Supported()) {
    _prefAssocSessEnc = AssociationSessionType.DH_SHA256;
  } else {
    _prefAssocSessEnc = AssociationSessionType.DH_SHA1;
  }
}
origin: jbufu/openid4java

@Inject
public ConsumerManager(RealmVerifierFactory realmFactory, Discovery discovery,
  HttpFetcherFactory httpFetcherFactory)
{
  _realmVerifier = realmFactory.getRealmVerifierForConsumer();
  // don't verify own (RP) identity, disable RP discovery
  _realmVerifier.setEnforceRpId(false);
  _discovery = discovery;
  _httpFetcher = httpFetcherFactory.createFetcher(HttpRequestOptions.getDefaultOptionsForOpCalls());
  if (Association.isHmacSha256Supported())
    _prefAssocSessEnc = AssociationSessionType.DH_SHA256;
  else
    _prefAssocSessEnc = AssociationSessionType.DH_SHA1;
}
org.openid4java.associationAssociationisHmacSha256Supported

Popular methods of Association

  • getHandle
  • hasExpired
  • createHmacSha1
  • createHmacSha256
  • generate
  • getExpiry
  • getMacKey
  • getType
  • sign
  • verifySignature
  • <init>
  • createMacKey
  • <init>,
  • createMacKey,
  • generateHmacSha1,
  • generateHmacSha256,
  • generateMacKey,
  • generateMacSha1Key,
  • generateMacSha256Key,
  • getFailedAssociation,
  • isHmacSupported

Popular in Java

  • Making http post requests using okhttp
  • putExtra (Intent)
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JCheckBox (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now