Class EntityCategoryRegistryImpl
java.lang.Object
se.swedenconnect.opensaml.sweid.saml2.metadata.entitycategory.EntityCategoryRegistryImpl
- All Implemented Interfaces:
EntityCategoryRegistry
Implementation of the
EntityCategoryRegistry
interface.- Author:
- Martin Lindström (martin@idsec.se)
-
Constructor Summary
ConstructorDescriptionEntityCategoryRegistryImpl
(List<EntityCategory> entityCategories) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of all registered entity categories.getEntityCategory
(String uri) Given an URI, the method will find theEntityCategory
object that is registered for this identifier.Returns a list of all registered entity categories that are of the type "Service entity category".
-
Constructor Details
-
EntityCategoryRegistryImpl
Constructor.- Parameters:
entityCategories
- registered entity categories
-
-
Method Details
-
getEntityCategory
Given an URI, the method will find theEntityCategory
object that is registered for this identifier.- Specified by:
getEntityCategory
in interfaceEntityCategoryRegistry
- Parameters:
uri
- the entity category URI- Returns:
- the
EntityCategory
object
-
getEntityCategories
Returns a list of all registered entity categories.- Specified by:
getEntityCategories
in interfaceEntityCategoryRegistry
- Returns:
- a list of all registered entity categories
-
getServiceEntityCategories
Returns a list of all registered entity categories that are of the type "Service entity category".- Specified by:
getServiceEntityCategories
in interfaceEntityCategoryRegistry
- Returns:
- a list of all registered service entity categories
-