org.apache.jetspeed.sso
Interface SSOPrincipal


public interface SSOPrincipal


Method Summary
 void addRemotePrincipal(InternalUserPrincipal principal)
          addRemotePrincipal()
 String getClassname()
           Getter for the principal classname.
 Timestamp getCreationDate()
           Getter for creation date.
 String getFullPath()
           Getter for the principal full path.
 Timestamp getModifiedDate()
           Getter for the modified date.
 Collection getPermissions()
           Getter for the principal permissions.
 long getPrincipalId()
           Getter for the principal id.
 Collection getRemotePrincipals()
          Getter for the remotePrincipals.
 int getSiteID()
          Getter for the siteID.
 boolean isEnabled()
          Getter for the enabled state
 boolean isMappingOnly()
           Getter for isMappingOnly.
 void setClassname(String classname)
           Setter for the principal classname.
 void setCreationDate(Timestamp creationDate)
           Setter for the creation date.
 void setEnabled(boolean enabled)
          Setter for the enabled state
 void setFullPath(String fullPath)
           Setter for the principal name.
 void setMappingOnly(boolean isMappingOnly)
           Setter for isMappingOnly.
 void setModifiedDate(Timestamp modifiedDate)
           Setter for the modified date.
 void setPermissions(Collection permissions)
           Setter for the principal permissions.
 void setPrincipalId(long principalId)
           Setter for the principal id.
 void setRemotePrincipals(Collection remotePrincipals)
          Setter for the remotePrincipals
 void setSiteID(int siteID)
          Setter for thesiteID
 

Method Detail

addRemotePrincipal

void addRemotePrincipal(InternalUserPrincipal principal)
addRemotePrincipal()

Parameters:
principal - Adds remote principal to the main (logged in) principal

getPrincipalId

long getPrincipalId()

Getter for the principal id.

Returns:
The principal id.

setPrincipalId

void setPrincipalId(long principalId)

Setter for the principal id.

Parameters:
principalId - The principal id.

getClassname

String getClassname()

Getter for the principal classname.

Returns:
The principal classname.

setClassname

void setClassname(String classname)

Setter for the principal classname.

Parameters:
classname - The principal classname.

isMappingOnly

boolean isMappingOnly()

Getter for isMappingOnly.

Returns:
The isMappingOnly.

setMappingOnly

void setMappingOnly(boolean isMappingOnly)

Setter for isMappingOnly.

Parameters:
isMappingOnly - The isMappingOnly.

getFullPath

String getFullPath()

Getter for the principal full path.

The full path allows to retrieve the principal preferences from the preferences services.

Returns:
The principal full path.

setFullPath

void setFullPath(String fullPath)

Setter for the principal name.

The full path allows to retrieve the principal preferences from the preferences services.

Parameters:
fullPath - The principal full path.

getPermissions

Collection getPermissions()

Getter for the principal permissions.

Returns:
The principal permissions.

setPermissions

void setPermissions(Collection permissions)

Setter for the principal permissions.

Parameters:
permissions - The principal permissions.

getCreationDate

Timestamp getCreationDate()

Getter for creation date.

Returns:
The creation date.

setCreationDate

void setCreationDate(Timestamp creationDate)

Setter for the creation date.

Parameters:
creationDate - The creation date.

getModifiedDate

Timestamp getModifiedDate()

Getter for the modified date.

Returns:
The modified date.

setModifiedDate

void setModifiedDate(Timestamp modifiedDate)

Setter for the modified date.

Parameters:
modifiedDate - The modified date.

isEnabled

boolean isEnabled()

Getter for the enabled state

Returns:
true if enabled

setEnabled

void setEnabled(boolean enabled)
Setter for the enabled state

Parameters:
enabled - The enabled state

getRemotePrincipals

Collection getRemotePrincipals()
Getter for the remotePrincipals.


setRemotePrincipals

void setRemotePrincipals(Collection remotePrincipals)
Setter for the remotePrincipals


getSiteID

int getSiteID()
Getter for the siteID.


setSiteID

void setSiteID(int siteID)
Setter for thesiteID



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