Package com.xebialabs.xlrelease.security.authority

# Class TenantAuthority

java.lang.Object
com.xebialabs.xlrelease.security.authority.TenantAuthority

All Implemented Interfaces:
  `Serializable`, `org.springframework.security.core.GrantedAuthority`

public final class TenantAuthority extends Object implements org.springframework.security.core.GrantedAuthority

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TenantAuthority(String tenantId)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object obj)`
  `String`
  `getAuthority()`
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### TenantAuthority

    public TenantAuthority(String tenantId)

- ## Method Details

  - ### getAuthority

    public String getAuthority()
    Specified by:
      `getAuthority` in interface `org.springframework.security.core.GrantedAuthority`

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`