All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.access.ClassProfile

java.lang.Object
   |
   +----semper.access.ClassProfile

public class ClassProfile
extends Object
SEMPER Access Control.

Class profiles store data identifying a certain application.

Class profiles store the name, description, certifier, and a list of role names suggested as active roles for the class by the certifier. For uncertified applications the certifier field contains "Not certified" and the certified roles field contains FlaggedName("NoTrust",false).

Class profiles are constructed when an class gets registered.

Version:
$Revision: 1.2 $ $Date: 1997/12/19 14:53:46 $
Author:
Mogens Rom Andersen (andersen@r3.ch)

Variable Index

 o NOT_CERTIFIED_STRING
String used as name of certified (ClassProfile.certifier) to indicate that this application is not certified and therefore un-trusted.

Method Index

 o getCertifiedRoles()
Get roles suggested by the certifier for this application.
 o getCertifier()
Get certifier of application.
 o getDescription()
Get description of application.
 o getName()
Get application name.
 o isCertified()
Check whether the application is certified.

Variables

 o NOT_CERTIFIED_STRING
 public static final String NOT_CERTIFIED_STRING
String used as name of certified (ClassProfile.certifier) to indicate that this application is not certified and therefore un-trusted.

Methods

 o getName
 public final String getName()
Get application name.

 o getDescription
 public final String getDescription()
Get description of application.

 o getCertifier
 public final String getCertifier()
Get certifier of application.

For uncertified application this returns ClassProfile.NOT_CERTIFIED_STRING, which currently equals "Not certified".

 o isCertified
 public final boolean isCertified()
Check whether the application is certified.

Returns:
true if the application profile corresponds to a certified application, false if the application should not be trusted.
 o getCertifiedRoles
 public final FlaggedName[] getCertifiedRoles()
Get roles suggested by the certifier for this application.


All Packages  Class Hierarchy  This Package  Previous  Next  Index