cn.dreampie.config
类 MyAuthenticateService

java.lang.Object
  继承者 cn.dreampie.security.AuthenticateService
      继承者 cn.dreampie.config.MyAuthenticateService
所有已实现的接口:
Serializable

public class MyAuthenticateService
extends AuthenticateService

Created by ice on 15-1-7.

另请参见:
序列化表格

构造方法摘要
MyAuthenticateService()
           
 
方法摘要
 Set<Credential> getAllCredentials()
          加载全部的权限信息
 Principal getPrincipal(String username)
          查询用户信息 这儿new一个用户对象来模拟
 
从类 cn.dreampie.security.AuthenticateService 继承的方法
getPasswordService
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

MyAuthenticateService

public MyAuthenticateService()
方法详细信息

getPrincipal

public Principal getPrincipal(String username)
查询用户信息 这儿new一个用户对象来模拟

指定者:
AuthenticateService 中的 getPrincipal
参数:
username - 登录的用户名
返回:
用户权限对象

getAllCredentials

public Set<Credential> getAllCredentials()
加载全部的权限信息

指定者:
AuthenticateService 中的 getAllCredentials
返回:
权限集合


Copyright © 2015. All rights reserved.