Class ClientEntry

java.lang.Object
ch.tocco.nice2.web.core.impl.servlet.ClientEntry

public class ClientEntry extends Object
Client entry for caching client authentication data.
  • Constructor Details

    • ClientEntry

      public ClientEntry(UUID uid)
  • Method Details

    • getBusinessUnitHolder

      public Optional<BusinessUnitHolder> getBusinessUnitHolder()
    • setBusinessUnitHolder

      public void setBusinessUnitHolder(BusinessUnitHolder businessUnit)
    • getSecurityContext

      public Optional<SecurityContext> getSecurityContext()
    • invalidate

      public void invalidate()
    • setSecurityContext

      public void setSecurityContext(String businessUnitId, SecurityContext securityContext)
    • clearSecurityContext

      public void clearSecurityContext()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getId

      public UUID getId()
    • getUsername

      public Optional<String> getUsername()
    • setUsername

      public void setUsername(String newName)