org.apache.jetspeed.security.om
Interface InternalUserPrincipal

All Superinterfaces:
Cloneable, InternalPrincipal, Serializable

public interface InternalUserPrincipal
extends InternalPrincipal

Interface representing Jetspeed security user principal object model.

Author:
David Le Strat

Method Summary
 Collection getCredentials()
          Getter for the security credentials.
 Collection getGroupPrincipals()
          Getter for the group principals.
 Collection getRolePrincipals()
          Getter for the role principals.
 void setCredentials(Collection credentials)
          Setter for the security credentials.
 void setGroupPrincipals(Collection groupPrincipals)
          Setter for the group principals.
 void setRolePrincipals(Collection rolePrincipals)
          Setter for the role principals.
 
Methods inherited from interface org.apache.jetspeed.security.om.InternalPrincipal
getClassname, getCreationDate, getFullPath, getModifiedDate, getPermissions, getPrincipalId, isEnabled, isMappingOnly, setClassname, setCreationDate, setEnabled, setFullPath, setMappingOnly, setModifiedDate, setPermissions, setPrincipalId
 

Method Detail

getCredentials

public Collection getCredentials()

Getter for the security credentials.

Returns:
The credentials.

setCredentials

public void setCredentials(Collection credentials)

Setter for the security credentials.

Parameters:
credentials - The credentials.

getRolePrincipals

public Collection getRolePrincipals()

Getter for the role principals.

Returns:
The role principals.

setRolePrincipals

public void setRolePrincipals(Collection rolePrincipals)

Setter for the role principals.

Parameters:
rolePrincipals - The role principals.

getGroupPrincipals

public Collection getGroupPrincipals()

Getter for the group principals.

Returns:
The group principals.

setGroupPrincipals

public void setGroupPrincipals(Collection groupPrincipals)

Setter for the group principals.

Parameters:
groupPrincipals - The group principals.


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.