All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.jstuff.integration.auth.Authentication Maven / Gradle / Ivy

/*
 * Copyright 2010-2022 by Sebastian Thomschke and contributors.
 * SPDX-License-Identifier: EPL-2.0
 */
package net.sf.jstuff.integration.auth;

import java.io.Serializable;

import org.eclipse.jdt.annotation.Nullable;

import net.sf.jstuff.integration.userregistry.UserDetails;

/**
 * @author Sebastian Thomschke
 */
public interface Authentication extends Serializable {
   @Nullable
   String getPassword();

   @Nullable
   Serializable getProperty(String name);

   @Nullable
   UserDetails getUserDetails();

   void invalidate();

   boolean isAuthenticated();

   void setProperty(String name, Serializable value);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy