org.nuiton.web.security.SecurityUser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nuiton-security Show documentation
Show all versions of nuiton-security Show documentation
Security module based on ToPIA
package org.nuiton.web.security;
/*-
* #%L
* Nuiton Web :: Nuiton Security
* %%
* Copyright (C) 2010 - 2017 CodeLutin
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* .
* #L%
*/
import java.util.Collection;
import javax.annotation.Generated;
import org.nuiton.topia.persistence.TopiaEntity;
@Generated(value = "org.nuiton.topia.templates.EntityTransformer", date = "Thu Sep 07 10:56:15 CEST 2017")
public interface SecurityUser extends TopiaEntity {
String PROPERTY_LOGIN = "login";
String PROPERTY_PASSWORD = "password";
String PROPERTY_EXTERNAL_ID = "externalId";
String PROPERTY_SECURITY_ROLE = "securityRole";
void setLogin(String login);
String getLogin();
void setPassword(String password);
String getPassword();
void setExternalId(String externalId);
String getExternalId();
void addSecurityRole(SecurityRole securityRole);
void addAllSecurityRole(Iterable securityRole);
void setSecurityRole(Collection securityRole);
void removeSecurityRole(SecurityRole securityRole);
void clearSecurityRole();
Collection getSecurityRole();
SecurityRole getSecurityRoleByTopiaId(String topiaId);
Collection getSecurityRoleTopiaIds();
int sizeSecurityRole();
boolean isSecurityRoleEmpty();
boolean isSecurityRoleNotEmpty();
boolean containsSecurityRole(SecurityRole securityRole);
} //SecurityUser
© 2015 - 2025 Weber Informatics LLC | Privacy Policy