![JAR search and dependency download from the Maven repository](/logo.png)
com.quartzdesk.api.web.security.SecurityToken Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quartzdesk-api Show documentation
Show all versions of quartzdesk-api Show documentation
QuartzDesk Public API library required for QuartzDesk Standard and Enterprise edition installations. This library must be placed on the classpath of the Quartz scheduler based application that is managed by QuartzDesk. It is important that this library is loaded by the same classloader that loads the Quartz scheduler API used by the application.
The newest version!
/*
* Copyright (c) 2013-2024 QuartzDesk.com. All Rights Reserved.
* QuartzDesk.com PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package com.quartzdesk.api.web.security;
import java.util.Date;
/**
* @version $Id:$
*/
public class SecurityToken
{
private String principalName;
private Date validTo;
public SecurityToken( String principalName, Date validTo )
{
this.principalName = principalName;
this.validTo = validTo;
}
public String getPrincipalName()
{
return principalName;
}
public Date getValidTo()
{
return validTo;
}
@Override
public String toString()
{
return new StringBuilder( SecurityToken.class.getSimpleName() )
.append( '[' )
.append( "principalName=" ).append( principalName )
.append( ", validTo=" ).append( validTo )
.append( ']' ).toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy