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

goja.security.shiro.UserAuth Maven / Gradle / Ivy

The newest version!
package goja.security.shiro;

import java.util.List;

/**
 * 

用户授权信息

* * @author sogYF * @version 1.0 * @since JDK 1.6 */ public class UserAuth { /** * 用户角色 */ private final List roles; /** * 用户权限 */ private final List permissions; /** * 构造函数 * * @param roles 用户的角色 * @param permissions 用户的权限 */ public UserAuth(List roles, List permissions) { this.roles = roles; this.permissions = permissions; } /** * 用户的角色 * * @return 用户的角色 */ public List getRoles() { return roles; } /** * 用户的权限 * * @return 用户的权限 */ public List getPermissions() { return permissions; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy