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

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

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

origin: spring-projects/spring-security-saml

protected List<Attribute> getRequestAttributes(SPSSODescriptor desc) {
  List<Attribute> result = new LinkedList<>();
  if (desc.getDefaultAttributeConsumingService() != null) {
    result.addAll(getRequestedAttributes(desc.getDefaultAttributeConsumingService()
      .getRequestAttributes()));
  }
  else {
    for (AttributeConsumingService s :
      ofNullable(desc.getAttributeConsumingServices()).orElse(emptyList())) {
      if (s != null) {
        //take the first one
        result.addAll(getRequestedAttributes(s.getRequestAttributes()));
        break;
      }
    }
  }
  return result;
}
origin: org.opensaml/opensaml-saml-impl

acs = ssoDescriptor.getDefaultAttributeConsumingService();
org.opensaml.saml.saml2.metadataSPSSODescriptorgetDefaultAttributeConsumingService

Javadoc

Gets the default attribute consuming service.

The selection algorithm used is:

  1. Select the first service with an explicit isDefault=true
  2. Select the first service with no explicit isDefault
  3. Select the first service

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.
  • isAuthnRequestsSigned
    Gets whether this service signs AuthN requests.
  • getWantAssertionsSigned
    Gets whether this service wants assertions signed.
  • getExtensions
  • getCacheDuration
  • getExtensions,
  • getCacheDuration,
  • getEndpoints,
  • getOrganization,
  • getSupportedProtocols,
  • getValidUntil,
  • getArtifactResolutionServices,
  • getContactPersons,
  • getDefaultAssertionConsumerService

Popular in Java

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • scheduleAtFixedRate (Timer)
  • findViewById (Activity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Join (org.hibernate.mapping)
  • Top Sublime Text 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