Tabnine Logo
AuthnRequest.getIssuer
Code IndexAdd Tabnine 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)

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

  • Making http requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • setContentView (Activity)
  • setScale (BigDecimal)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top plugins for WebStorm
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