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

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

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

origin: line/armeria

spSsoDescriptor.setAuthnRequestsSigned(true);
spSsoDescriptor.setWantAssertionsSigned(true);
spSsoDescriptor.addSupportedProtocol(SAMLConstants.SAML20P_NS);
origin: org.opensaml/opensaml-saml-impl

  /** {@inheritDoc} */
  protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException {
    SPSSODescriptor descriptor = (SPSSODescriptor) samlObject;

    if (attribute.getLocalName().equals(SPSSODescriptor.AUTH_REQUESTS_SIGNED_ATTRIB_NAME)) {
      descriptor.setAuthnRequestsSigned(XSBooleanValue.valueOf(attribute.getValue()));
    } else if (attribute.getLocalName().equals(SPSSODescriptor.WANT_ASSERTIONS_SIGNED_ATTRIB_NAME)) {
      descriptor.setWantAssertionsSigned(XSBooleanValue.valueOf(attribute.getValue()));
    } else {
      super.processAttribute(samlObject, attribute);
    }
  }
}
origin: com.linecorp.armeria/armeria-saml

spSsoDescriptor.setAuthnRequestsSigned(true);
spSsoDescriptor.setWantAssertionsSigned(true);
spSsoDescriptor.addSupportedProtocol(SAMLConstants.SAML20P_NS);
origin: org.pac4j/pac4j-saml

final SPSSODescriptor spDescriptor = builder.buildObject();
spDescriptor.setAuthnRequestsSigned(this.authnRequestSigned);
spDescriptor.setWantAssertionsSigned(this.wantAssertionSigned);
spDescriptor.addSupportedProtocol(SAMLConstants.SAML20P_NS);
origin: spring-projects/spring-security-saml

SPSSODescriptor descriptor = getSPSSODescriptor();
roleDescriptor = descriptor;
descriptor.setAuthnRequestsSigned(sp.isAuthnRequestsSigned());
descriptor.setWantAssertionsSigned(sp.isWantAssertionsSigned());
origin: org.apache.syncope.ext.saml2sp/syncope-ext-saml2sp-logic

spSSODescriptor.setAuthnRequestsSigned(true);
spSSODescriptor.addSupportedProtocol(SAMLConstants.SAML20P_NS);
org.opensaml.saml.saml2.metadataSPSSODescriptorsetAuthnRequestsSigned

Javadoc

Sets whether this service signs AuthN requests. Boolean values will be marshalled to either "true" or "false".

Popular methods of SPSSODescriptor

  • getAssertionConsumerServices
    Gets an list of assertion consumer service Endpoints for this service.
  • getKeyDescriptors
  • getNameIDFormats
  • getSingleLogoutServices
  • setWantAssertionsSigned
    Sets whether this service wants assertions signed.
  • addSupportedProtocol
  • getAttributeConsumingServices
    Gets an list of attribute consuming service descriptors for this service.
  • isAuthnRequestsSigned
    Gets whether this service signs AuthN requests.
  • 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
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • getSharedPreferences (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top plugins for Android Studio
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