Codota Logo
AuthnRequest.getIssuer
Code IndexAdd Codota to your IDE (free)

How to use
getIssuer
method
in
org.opensaml.saml.saml2.core.AuthnRequest

Best Java code snippets using org.opensaml.saml.saml2.core.AuthnRequest.getIssuer (Showing top 3 results out of 315)

  • Common ways to obtain AuthnRequest
private void myMethod () {
AuthnRequest a =
  • Codota IconSAMLObjectBuilder sAMLObjectBuilder;sAMLObjectBuilder.buildObject()
  • Codota IconFunction function;Object input;function.apply(input)
  • Smart code suggestions by Codota
}
origin: org.apereo.cas/cas-server-support-saml-idp-web

  private String[] getAuditResourceFromSamlAuthnRequest(final AuthnRequest returnValue) {
    val result =
      new ToStringBuilder(this, ToStringStyle.NO_CLASS_NAME_STYLE)
        .append("issuer", returnValue.getIssuer().getValue())
        .append("binding", returnValue.getProtocolBinding())
        .toString();
    return new String[]{result};
  }
}
origin: org.apereo.cas/cas-server-support-saml-idp-web

  /**
   * Determine profile binding.
   *
   * @param authenticationContext the authentication context
   * @param assertion             the assertion
   * @return the string
   */
  protected String determineProfileBinding(final Pair<AuthnRequest, MessageContext> authenticationContext,
                       final Assertion assertion) {

    val authnRequest = authenticationContext.getKey();
    val pair = getRegisteredServiceAndFacade(authnRequest);
    val facade = pair.getValue();

    val binding = StringUtils.defaultIfBlank(authnRequest.getProtocolBinding(), SAMLConstants.SAML2_POST_BINDING_URI);
    LOGGER.debug("Determined authentication request binding is [{}], issued by [{}]", binding, authnRequest.getIssuer().getValue());

    val entityId = facade.getEntityId();
    LOGGER.debug("Checking metadata for [{}] to see if binding [{}] is supported", entityId, binding);
    @NonNull
    val svc = facade.getAssertionConsumerService(binding);
    LOGGER.debug("Binding [{}] is supported by [{}]", svc.getBinding(), entityId);
    return binding;
  }
}
origin: spring-projects/spring-security-saml

.setIssuer(getIssuer(request.getIssuer()))
.setForceAuth(request.isForceAuthn())
.setPassive(request.isPassive())
org.opensaml.saml.saml2.coreAuthnRequestgetIssuer

Popular methods of AuthnRequest

  • setNameIDPolicy
    Sets the NameIDPolicy of the request.
  • setAssertionConsumerServiceURL
    Sets the URL of the particular Assertion Consumer Service to which the response to this request shou
  • setIssueInstant
  • setIssuer
  • setProtocolBinding
    Sets the protocol binding URI for the request.
  • setDestination
  • setID
  • setRequestedAuthnContext
    Sets the RequestedAuthnContext of the request.
  • setForceAuthn
    Sets whether the IdP should force the user to reauthenticate.
  • getAssertionConsumerServiceURL
    Gets the URL of the particular Assertion Consumer Service to which the response to this request shou
  • getProtocolBinding
    Gets the protocol binding URI for the request.
  • setIsPassive
    Sets whether the IdP should refrain from interacting with the user during the authentication process
  • getProtocolBinding,
  • setIsPassive,
  • setVersion,
  • getAssertionConsumerServiceIndex,
  • getNameIDPolicy,
  • getID,
  • getSubject,
  • isForceAuthn,
  • isPassive,
  • getRequestedAuthnContext

Popular in Java

  • Reading from database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • getSharedPreferences (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • JCheckBox (javax.swing)
  • Option (scala)
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