Package pl.edu.icm.unity.types.authn
Class CredentialRequirements
- java.lang.Object
-
- pl.edu.icm.unity.types.DescribedObjectROImpl
-
- pl.edu.icm.unity.types.DescribedObjectImpl
-
- pl.edu.icm.unity.types.authn.CredentialRequirements
-
- All Implemented Interfaces:
DescribedObject
,NamedObject
public class CredentialRequirements extends DescribedObjectImpl
Set of credentials. It is applied to entities, to define what credentials must be defined/updated.This class uses default JSON serialization
- Author:
- K. Benedyczak
-
-
Field Summary
-
Fields inherited from class pl.edu.icm.unity.types.DescribedObjectROImpl
description, name
-
-
Constructor Summary
Constructors Constructor Description CredentialRequirements()
CredentialRequirements(String name, String description, Set<String> requiredCredentials)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Set<String>
getRequiredCredentials()
int
hashCode()
boolean
isReadOnly()
void
setReadOnly(boolean readOnly)
void
setRequiredCredentials(Set<String> requiredCredentials)
String
toString()
-
Methods inherited from class pl.edu.icm.unity.types.DescribedObjectImpl
setDescription, setName
-
Methods inherited from class pl.edu.icm.unity.types.DescribedObjectROImpl
fromJsonDescObj, getDescription, getName, toJson
-
-
-
-
Method Detail
-
isReadOnly
public boolean isReadOnly()
-
setReadOnly
public void setReadOnly(boolean readOnly)
-
toString
public String toString()
- Overrides:
toString
in classDescribedObjectROImpl
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDescribedObjectROImpl
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classDescribedObjectROImpl
-
-