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
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 the
LocalCredentialState.outdated
state.- Author:
- K. Benedyczak
-
Field Summary
Fields inherited from class pl.edu.icm.unity.types.DescribedObjectROImpl
description, name
-
Constructor Summary
ConstructorDescriptionCredentialType
(String name, String description, boolean supportsInvalidation) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setSupportingInvalidation
(boolean supportingInvalidation) Methods inherited from class pl.edu.icm.unity.types.DescribedObjectROImpl
equals, fromJsonDescObj, getDescription, getName, hashCode, toJson, toString
-
Constructor Details
-
CredentialType
public CredentialType() -
CredentialType
-
-
Method Details
-
isSupportingInvalidation
public boolean isSupportingInvalidation() -
setSupportingInvalidation
public void setSupportingInvalidation(boolean supportingInvalidation)
-