- java.lang.Object
-
- aeonics.template.Item<Provider.Type>
-
- aeonics.entity.security.Provider
-
- Direct Known Subclasses:
Provider.Local
public abstract class Provider extends Item<Provider.Type>
This item plays a role in the definition of theSecurity
. It represents a specific authentication provider that manages the login of users.Optionally, the identity provider may evaluate a specific security
Rule
usingProvider.Type.check(Rule.Type, User.Type, Data)
.Each identity provider may also store private secure data about users if needed. That data is only accessible to the instance that stored it in the first place.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Provider.Local
static class
Provider.Remote
static class
Provider.Type
Superclass for all provider entities.
-
Constructor Summary
Constructors Constructor Description Provider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Class<? extends Provider>
category()
Returns the target entity category.Template<? extends Provider.Type>
template()
Returns the template to build the target entity.-
Methods inherited from class aeonics.template.Item
creator, creator, defaultCreator, defaultTarget, defaultType, from, target, target, type, type
-
-
-
-
Method Detail
-
template
public Template<? extends Provider.Type> template()
Description copied from class:Item
Returns the template to build the target entity.This method should ultimately be used to provide the final entity template. Although, it may also provide a partial template that subclassed may complement.
- Overrides:
template
in classItem<Provider.Type>
- Returns:
- the matching entity template
-
category
protected java.lang.Class<? extends Provider> category()
Description copied from class:Item
Returns the target entity category. This method should be implemented by subclasses to specify the entity category.- Specified by:
category
in classItem<Provider.Type>
- Returns:
- the target entity category
-
-