Interface PrincipalService<T extends Principal>
-
- Type Parameters:
T- principal type
- All Superinterfaces:
Component,IdentifiedComponent
- All Known Implementing Classes:
GenericPrincipalService
public interface PrincipalService<T extends Principal> extends IdentifiedComponent
Interface that provides services for aPrincipalof a given type.- Since:
- 4.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrincipalSerializer<String>getSerializer()Get a serializer instance for this type ofPrincipal.Class<T>getType()Get the type of object supported.-
Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
-
-
-
Method Detail
-
getSerializer
@Nonnull PrincipalSerializer<String> getSerializer()
Get a serializer instance for this type ofPrincipal.- Returns:
- the serializer
-
-