Type - the type of object handledpublic interface PrincipalSerializer<Type> extends InitializableComponent
| Modifier and Type | Method and Description |
|---|---|
Principal |
deserialize(Type value)
Deserialize the supplied value.
|
Type |
serialize(Principal principal)
Serialize the supplied principal.
|
boolean |
supports(Principal principal)
Whether the supplied principal can be serialized.
|
boolean |
supports(Type value)
Whether the supplied value can be deserialized.
|
initialize, isInitializedboolean supports(@Nonnull Principal principal)
principal - to examine@Nonnull @NotEmpty Type serialize(@Nonnull Principal principal) throws IOException
principal - to serializeIOException - if an error occurs during serializationboolean supports(@Nonnull Type value)
value - to examine@Nullable Principal deserialize(@Nonnull Type value) throws IOException
value - to deserializeIOException - if an error occurs during deserializationCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.