org.apache.jetspeed.security
Interface JetspeedPrincipal

All Superinterfaces:
java.security.Principal
All Known Subinterfaces:
Group, Role, SSOUser, User

public interface JetspeedPrincipal
extends java.security.Principal

Version:
$Id: JetspeedPrincipal.java 732386 2009-01-07 16:33:26Z ddam $

Method Summary
 java.sql.Timestamp getCreationDate()
           
 java.lang.Long getDomainId()
           
 java.lang.Long getId()
           
 java.util.Map<java.lang.String,java.lang.String> getInfoMap()
           
 java.sql.Timestamp getModifiedDate()
           
 java.lang.String getName()
           
 SecurityAttributes getSecurityAttributes()
           
 JetspeedPrincipalType getType()
           
 boolean isEnabled()
           
 boolean isExtendable()
           
 boolean isMapped()
           
 boolean isReadOnly()
           
 boolean isRemovable()
           
 boolean isTransient()
           
 void setEnabled(boolean enabled)
           
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Method Detail

getId

java.lang.Long getId()

getName

java.lang.String getName()
Specified by:
getName in interface java.security.Principal

getType

JetspeedPrincipalType getType()

getCreationDate

java.sql.Timestamp getCreationDate()

getModifiedDate

java.sql.Timestamp getModifiedDate()

isEnabled

boolean isEnabled()

setEnabled

void setEnabled(boolean enabled)
                throws SecurityException
Throws:
SecurityException

isTransient

boolean isTransient()

isMapped

boolean isMapped()

isReadOnly

boolean isReadOnly()

isRemovable

boolean isRemovable()

isExtendable

boolean isExtendable()

getSecurityAttributes

SecurityAttributes getSecurityAttributes()

getInfoMap

java.util.Map<java.lang.String,java.lang.String> getInfoMap()
Returns:
an unmodifiable Map of the SecurityAttributes.INFO_CATEGORY SecurityAttributes

getDomainId

java.lang.Long getDomainId()


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.