Class ScopeUtilTest.MockScriptedIdPAttribute

  • All Implemented Interfaces:
    net.shibboleth.idp.attribute.resolver.scripted.ScriptedIdPAttribute
    Enclosing class:
    ScopeUtilTest

    class ScopeUtilTest.MockScriptedIdPAttribute
    extends Object
    implements net.shibboleth.idp.attribute.resolver.scripted.ScriptedIdPAttribute
    • Constructor Detail

      • MockScriptedIdPAttribute

        public MockScriptedIdPAttribute​(String attributeId,
                                        Object... objects)
    • Method Detail

      • getValues

        public Collection<Object> getValues()
                                     throws net.shibboleth.idp.attribute.resolver.ResolutionException
        Specified by:
        getValues in interface net.shibboleth.idp.attribute.resolver.scripted.ScriptedIdPAttribute
        Throws:
        net.shibboleth.idp.attribute.resolver.ResolutionException
      • getNativeAttribute

        public net.shibboleth.idp.attribute.IdPAttribute getNativeAttribute()
                                                                     throws net.shibboleth.idp.attribute.resolver.ResolutionException
        Specified by:
        getNativeAttribute in interface net.shibboleth.idp.attribute.resolver.scripted.ScriptedIdPAttribute
        Throws:
        net.shibboleth.idp.attribute.resolver.ResolutionException
      • getId

        public String getId()
        Specified by:
        getId in interface net.shibboleth.idp.attribute.resolver.scripted.ScriptedIdPAttribute
      • addValue

        public void addValue​(Object what)
                      throws net.shibboleth.idp.attribute.resolver.ResolutionException
        Specified by:
        addValue in interface net.shibboleth.idp.attribute.resolver.scripted.ScriptedIdPAttribute
        Throws:
        net.shibboleth.idp.attribute.resolver.ResolutionException