Tabnine Logo
Association.isHmacSha256Supported
Code IndexAdd Tabnine 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)

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

  • Reactive rest calls using spring rest template
  • addToBackStack (FragmentTransaction)
  • setRequestProperty (URLConnection)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now