cn.dreampie.security.credential
类 Credentials

java.lang.Object
  继承者 cn.dreampie.security.credential.Credentials

public class Credentials
extends Object

Created by ice on 14-12-24.


构造方法摘要
Credentials(AuthenticateService authenticateService, long expires)
           
 
方法摘要
 Map<String,Map<String,Set<Credential>>> getAllCredentials()
          取全部凭据
 Principal getPrincipal(String username)
          取用户缓存
 void removePrincipal(String username)
          删除用户缓存
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Credentials

public Credentials(AuthenticateService authenticateService,
                   long expires)
方法详细信息

getAllCredentials

public Map<String,Map<String,Set<Credential>>> getAllCredentials()
取全部凭据

返回:
全部凭据

getPrincipal

public Principal getPrincipal(String username)
取用户缓存

参数:
username - 用户名
返回:
用户

removePrincipal

public void removePrincipal(String username)
删除用户缓存

参数:
username -


Copyright © 2015. All rights reserved.