All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.access.ApplicationProfile

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

public class ApplicationProfile
extends Object
SEMPER Access Control.

Application profiles store data identifying a certain application.

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

Application profiles are constructed when an application gets registered using the data obtained through the ControlledApplication interface.

Version:
$Revision: 1.2 $ $Date: 1997/08/07 12:18:41 $
Author:
Mogens Rom Andersen ([email protected])

Variable Index

 o NOT_CERTIFIED_STRING
String used as name of certified (ApplicationProfile.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 (ApplicationProfile.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 ApplicationProfile.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