Tabnine Logo
SPSSODescriptor.isAuthnRequestsSigned
Code IndexAdd Tabnine to your IDE (free)

How to use
isAuthnRequestsSigned
method
in
org.opensaml.saml.saml2.metadata.SPSSODescriptor

Best Java code snippets using org.opensaml.saml.saml2.metadata.SPSSODescriptor.isAuthnRequestsSigned (Showing top 5 results out of 315)

origin: line/armeria

assertThat(sp.isAuthnRequestsSigned()).isTrue();
assertThat(sp.getWantAssertionsSigned()).isTrue();
origin: org.apereo.cas/cas-server-support-saml-idp-core

public boolean isAuthnRequestsSigned() {
  return this.ssoDescriptor.isAuthnRequestsSigned();
}
origin: org.pac4j/pac4j-saml

@Override
protected boolean mustSignRequest(final SPSSODescriptor spDescriptor, final IDPSSODescriptor idpssoDescriptor) {
  boolean signOutboundContext = false;
  if (this.isRequestSigned) {
    logger.debug("Requests are expected to be always signed before submission");
    signOutboundContext = true;
  } else if (spDescriptor.isAuthnRequestsSigned()) {
    logger.debug("The service provider metadata indicates that authn requests are signed");
    signOutboundContext = true;
  } else if (idpssoDescriptor.getWantAuthnRequestsSigned()) {
    logger.debug("The identity provider metadata indicates that authn requests may be signed");
    signOutboundContext = true;
  }
  return signOutboundContext;
}
origin: org.opensaml/opensaml-saml-impl

if (spssoRole.isAuthnRequestsSigned() == Boolean.TRUE) {
  if (! isMessageSigned(messageContext)) {
    log.error("SPSSODescriptor for entity ID '{}' indicates AuthnRequests must be signed, "
origin: spring-projects/spring-security-saml

provider.setSingleLogoutService(getEndpoints(desc.getSingleLogoutServices()));
provider.setManageNameIDService(getEndpoints(desc.getManageNameIDServices()));
provider.setAuthnRequestsSigned(desc.isAuthnRequestsSigned());
provider.setWantAssertionsSigned(desc.getWantAssertionsSigned());
provider.setAssertionConsumerService(getEndpoints(desc.getAssertionConsumerServices()));
org.opensaml.saml.saml2.metadataSPSSODescriptorisAuthnRequestsSigned

Javadoc

Gets whether this service signs AuthN requests.

Popular methods of SPSSODescriptor

  • getAssertionConsumerServices
    Gets an list of assertion consumer service Endpoints for this service.
  • getKeyDescriptors
  • getNameIDFormats
  • getSingleLogoutServices
  • setAuthnRequestsSigned
    Sets whether this service signs AuthN requests.
  • setWantAssertionsSigned
    Sets whether this service wants assertions signed.
  • addSupportedProtocol
  • getAttributeConsumingServices
    Gets an list of attribute consuming service descriptors for this service.
  • getWantAssertionsSigned
    Gets whether this service wants assertions signed.
  • getExtensions
  • getCacheDuration
  • getDefaultAttributeConsumingService
    Gets the default attribute consuming service. The selection algorithm used is: 1. Select the first s
  • getCacheDuration,
  • getDefaultAttributeConsumingService,
  • getEndpoints,
  • getOrganization,
  • getSupportedProtocols,
  • getValidUntil,
  • getArtifactResolutionServices,
  • getContactPersons,
  • getDefaultAssertionConsumerService

Popular in Java

  • Making http post requests using okhttp
  • getResourceAsStream (ClassLoader)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setContentView (Activity)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • JCheckBox (javax.swing)
  • JFileChooser (javax.swing)
  • Top 12 Jupyter Notebook extensions
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