org.apache.jetspeed.security
Interface JetspeedPrincipalType

All Superinterfaces:
java.io.Serializable

public interface JetspeedPrincipalType
extends java.io.Serializable

The base JetspeedPrincipal type.

Version:
$Id$
Author:
Vivek Kumar

Field Summary
static java.lang.String GROUP
          build-in supported JetspeedPrincipalType "group"
static java.lang.String ROLE
          build-in supported JetspeedPrincipalType "role"
static java.lang.String SSO_USER
          build-in supported JetspeedPrincipalType "ssoUser"
static java.lang.String USER
          build-in supported JetspeedPrincipalType "user"
 
Method Summary
 SecurityAttributeTypes getAttributeTypes()
           
 java.lang.String getClassName()
           
 java.lang.String getName()
          The name to identify the type of a JetspeedPrincipal.
 java.lang.Class<JetspeedPrincipal> getPrincipalClass()
           
 

Field Detail

GROUP

static final java.lang.String GROUP
build-in supported JetspeedPrincipalType "group"

See Also:
Constant Field Values

ROLE

static final java.lang.String ROLE
build-in supported JetspeedPrincipalType "role"

See Also:
Constant Field Values

USER

static final java.lang.String USER
build-in supported JetspeedPrincipalType "user"

See Also:
Constant Field Values

SSO_USER

static final java.lang.String SSO_USER
build-in supported JetspeedPrincipalType "ssoUser"

See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
The name to identify the type of a JetspeedPrincipal.

While the implementation class of a specific JetspeedPrincipalType might be replaced, the type name should remain constant (e.g. for a USER a different implementation could be provided but it will remain a USER afterall).

Note: the name value must conform to the Java Identifier requirements (e.g. no spaces, dots, etc.) to support localization through resource bundles.


getClassName

java.lang.String getClassName()

getPrincipalClass

java.lang.Class<JetspeedPrincipal> getPrincipalClass()

getAttributeTypes

SecurityAttributeTypes getAttributeTypes()


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