Class PrincipalSelectionGenerator


  • public class PrincipalSelectionGenerator
    extends java.lang.Object
    Class containing helper method to generate PricipalSelection Elements used in extentions of AuthNRequest and MetaData.
    • Constructor Detail

      • PrincipalSelectionGenerator

        public PrincipalSelectionGenerator()
    • Method Detail

      • genPrincipalSelectionElement

        public javax.xml.bind.JAXBElement<PrincipalSelectionType> genPrincipalSelectionElement​(java.util.List<MatchValueType> matchValues)
        Help method to create a PricipalSelection Element from a list of match value types.
        Parameters:
        matchValues - list of match value types.
        Returns:
        a newly created PricipalSelection Element that can be added to AuthNRequest extensions object.
      • genRequestedPrincipalSelectionElement

        public javax.xml.bind.JAXBElement<RequestedPrincipalSelectionType> genRequestedPrincipalSelectionElement​(java.util.List<MatchValueType> matchValues)
        Help method to create a RequestedPrincipalSelection Element from a list of match value types.
        Parameters:
        matchValues - list of match value types.
        Returns:
        a newly created RequestedPrincipalSelection Element that can be added to MetaData extensions object.