nl.surfnet.coin.api.oauth
Class ClientMetaDataPrincipal

java.lang.Object
  extended by nl.surfnet.coin.api.oauth.ClientMetaDataPrincipal
All Implemented Interfaces:
Serializable, Principal

public class ClientMetaDataPrincipal
extends Object
implements Serializable, Principal

Principal returned by ShibRequestHeaderAuthenticationFilter that is stored as a blob in the oauth1_tokens table for access (when we need to enforce SP GroupProvider ACL's)

See Also:
Serialized Form

Constructor Summary
ClientMetaDataPrincipal(String remoteUser)
           
 
Method Summary
 ClientMetaData getClientMetaData()
           
 String getName()
           
 String getRemoteUser()
           
 void setClientMetaData(ClientMetaData clientMetaData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Constructor Detail

ClientMetaDataPrincipal

public ClientMetaDataPrincipal(String remoteUser)
Parameters:
remoteUser -
Method Detail

getClientMetaData

public ClientMetaData getClientMetaData()
Returns:
the clientMetaData

setClientMetaData

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

getRemoteUser

public String getRemoteUser()
Returns:
the remoteUser

getName

public String getName()
Specified by:
getName in interface Principal


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