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

org.codehaus.plexus.security.summit.User Maven / Gradle / Ivy

There is a newer version: 1.0-alpha-3
Show newest version
package org.codehaus.plexus.security.summit;

import org.codehaus.plexus.security.summit.session.SessionBindingListener;

/**
 * 

User is a basic user interface for web applications. It is implemented by * the various web security implmentations - ie: db and xml. *

*

NOTE: This class extends SessionBindingListener because it is * used for web based applications only. This is open to change.

* * @author Dan Diephouse * @since Jan 11, 2003 */ public interface User extends SessionBindingListener { public static String ENTITY_TYPE = User.class.getName(); /** * Get the unique user name. * * @return String */ public String getUserName(); /** * Returns true if the user is currently logged in. * * @return boolean */ public boolean isLoggedIn(); /** * Sets whether or not the user is logged in. * * @param value */ public void setLoggedIn( boolean value ); public void updateLastAccessDate(); public void incrementAccessCounter(); public void incrementAccessCounterForSession(); public void setTemp( String key, Object value ); public Object getTemp( String key ); public void setPerm( String key, Object value ); public Object getPerm( String key ); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy