
com.daedafusion.security.authentication.impl.DefaultRole Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of security-framework Show documentation
Show all versions of security-framework Show documentation
A pluggable security framework "inspired" by the OWASP ESAPI framework
The newest version!
package com.daedafusion.security.authentication.impl;
import com.daedafusion.security.authentication.Role;
import org.apache.log4j.Logger;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
/**
* Created by mphilpot on 7/15/14.
*/
public class DefaultRole extends AbstractPrincipal implements Role
{
private static final Logger log = Logger.getLogger(DefaultRole.class);
private final RoleType roleType;
public DefaultRole(UUID instanceId, Type type, Map> attributes, RoleType roleType, String signature)
{
super(instanceId, type, attributes, signature);
this.roleType = roleType;
}
@Override
public RoleType getRoleType()
{
return roleType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy