Class MockSimpleStringTranscoder
- java.lang.Object
-
- net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
-
- net.shibboleth.idp.attribute.transcoding.AbstractAttributeTranscoder<net.minidev.json.JSONObject>
-
- net.shibboleth.oidc.attribute.transcoding.AbstractOIDCAttributeTranscoder
-
- net.shibboleth.idp.plugin.authn.oidc.rp.impl.MockSimpleStringTranscoder
-
- All Implemented Interfaces:
net.shibboleth.idp.attribute.transcoding.AttributeTranscoder<net.minidev.json.JSONObject>,net.shibboleth.oidc.attribute.transcoding.OIDCAttributeTranscoder,Component,DestructableComponent,InitializableComponent
public class MockSimpleStringTranscoder extends net.shibboleth.oidc.attribute.transcoding.AbstractOIDCAttributeTranscoderSample transcoder for tests which only supports simple strings.
-
-
Constructor Summary
Constructors Constructor Description MockSimpleStringTranscoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<net.shibboleth.idp.attribute.IdPAttributeValue>decodeValues(ProfileRequestContext profileRequestContext, Object input, net.shibboleth.idp.attribute.transcoding.TranscodingRule rule)protected ObjectencodeValues(ProfileRequestContext profileRequestContext, net.shibboleth.idp.attribute.IdPAttribute attribute, net.shibboleth.idp.attribute.transcoding.TranscodingRule rule)private ObjecttoJSONObject(String value)-
Methods inherited from class net.shibboleth.oidc.attribute.transcoding.AbstractOIDCAttributeTranscoder
buildClaim, buildIdPAttribute, doDecode, doEncode, getEncodedName, getEncodedType
-
Methods inherited from class net.shibboleth.idp.attribute.transcoding.AbstractAttributeTranscoder
decode, encode, setActivationCondition
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.shibboleth.idp.attribute.transcoding.AttributeTranscoder
decode, encode
-
Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent
initialize, isInitialized
-
-
-
-
Method Detail
-
encodeValues
protected Object encodeValues(ProfileRequestContext profileRequestContext, net.shibboleth.idp.attribute.IdPAttribute attribute, net.shibboleth.idp.attribute.transcoding.TranscodingRule rule) throws net.shibboleth.idp.attribute.AttributeEncodingException
- Specified by:
encodeValuesin classnet.shibboleth.oidc.attribute.transcoding.AbstractOIDCAttributeTranscoder- Throws:
net.shibboleth.idp.attribute.AttributeEncodingException
-
decodeValues
protected List<net.shibboleth.idp.attribute.IdPAttributeValue> decodeValues(ProfileRequestContext profileRequestContext, Object input, net.shibboleth.idp.attribute.transcoding.TranscodingRule rule) throws net.shibboleth.idp.attribute.AttributeDecodingException
- Specified by:
decodeValuesin classnet.shibboleth.oidc.attribute.transcoding.AbstractOIDCAttributeTranscoder- Throws:
net.shibboleth.idp.attribute.AttributeDecodingException
-
-