Class AbstractIdentityAttribute

java.lang.Object
se.idsec.signservice.integration.core.AbstractIdentityAttribute
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RequestedCertificateAttribute, SignerIdentityAttribute

public abstract class AbstractIdentityAttribute extends Object implements Serializable
A base class for identity attributes.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
See Also:
  • Field Details

    • type

      protected String type
      The type of attribute.
    • name

      protected String name
      The attribute name.
  • Constructor Details

    • AbstractIdentityAttribute

      public AbstractIdentityAttribute()
      Default constructor.
    • AbstractIdentityAttribute

      public AbstractIdentityAttribute(String type, String name)
      Constructor setting the type and name.
      Parameters:
      type - the type of attribute
      name - the attribute name
  • Method Details

    • getType

      public String getType()
      Gets the identity attribute type.
      Returns:
      the string identifying the type of attribute represented
    • setType

      public void setType(String type)
      Assigns the identity attribute type.
      Parameters:
      type - the attribute type
    • getName

      public String getName()
      Gets the attribute name.
      Returns:
      the attribute name
    • setName

      public void setName(String name)
      Sets the attribute name.
      Parameters:
      name - the attribute name
    • toString

      public String toString()
      Overrides:
      toString in class Object