Package pl.edu.icm.unity.types.authn
Class CredentialType
- java.lang.Object
-
- pl.edu.icm.unity.types.DescribedObjectROImpl
-
- pl.edu.icm.unity.types.authn.CredentialType
-
- All Implemented Interfaces:
DescribedObject
,NamedObject
public class CredentialType extends DescribedObjectROImpl
Describes credential type as username and password or one-time password. Each credential can optionally support invalidation. This means that instances can be put into theLocalCredentialState.outdated
state.- Author:
- K. Benedyczak
-
-
Field Summary
-
Fields inherited from class pl.edu.icm.unity.types.DescribedObjectROImpl
description, name
-
-
Constructor Summary
Constructors Constructor Description CredentialType()
CredentialType(String name, String description, boolean supportsInvalidation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSupportingInvalidation()
void
setSupportingInvalidation(boolean supportingInvalidation)
-
Methods inherited from class pl.edu.icm.unity.types.DescribedObjectROImpl
equals, fromJsonDescObj, getDescription, getName, hashCode, toJson, toString
-
-