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

com.frameworkset.platform.security.authentication.Credential Maven / Gradle / Ivy

There is a newer version: 5.6.4
Show newest version
package com.frameworkset.platform.security.authentication;

import javax.security.auth.DestroyFailedException;
import javax.security.auth.Destroyable;
import javax.security.auth.RefreshFailedException;
import javax.security.auth.Refreshable;


/**
 * 

Title:

* *

Description:

* *

Copyright: Copyright (c) 2006

* *

Company: bbossgroups

* * @author biaoping.yin * @version 1.0 */ public class Credential implements Refreshable,Destroyable,java.io.Serializable{ private String loginModule; private CheckCallBack checkCallBack; public Credential() { } public Credential(CheckCallBack checkCallBack,String loginModule ) { this.checkCallBack = checkCallBack; this.loginModule = loginModule; } public void destroy() throws DestroyFailedException { } public boolean isDestroyed() { return false; } public boolean isCurrent() { return true; } public void refresh() throws RefreshFailedException { } public CheckCallBack getCheckCallBack() { return checkCallBack; } public String getLoginModule() { return loginModule; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy