nl.surfnet.coin.api.shib
Class ShibbolethAuthenticationToken

java.lang.Object
  extended by org.springframework.security.authentication.AbstractAuthenticationToken
      extended by nl.surfnet.coin.api.shib.ShibbolethAuthenticationToken
All Implemented Interfaces:
Serializable, Principal, org.springframework.security.core.Authentication, org.springframework.security.core.CredentialsContainer

public class ShibbolethAuthenticationToken
extends org.springframework.security.authentication.AbstractAuthenticationToken

See Also:
Serialized Form

Constructor Summary
ShibbolethAuthenticationToken(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
           
 
Method Summary
 ClientMetaData getClientMetaData()
           
 Object getCredentials()
           
 Object getPrincipal()
          Details only contains the username (the REMOTE_USER from shib)
 void setClientMetaData(ClientMetaData clientMetaData)
           
 
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShibbolethAuthenticationToken

public ShibbolethAuthenticationToken(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
Method Detail

getCredentials

public Object getCredentials()

getPrincipal

public Object getPrincipal()
Details only contains the username (the REMOTE_USER from shib)

Returns:

getClientMetaData

public ClientMetaData getClientMetaData()
Returns:
the clientMetaData

setClientMetaData

public void setClientMetaData(ClientMetaData clientMetaData)
Parameters:
clientMetaData - the clientMetaData to set


Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.