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 ([email protected])
-
NOT_CERTIFIED_STRING
- String used as name of certified (ClassProfile.certifier)
to indicate that this application is not certified and therefore
un-trusted.
-
getCertifiedRoles()
- Get roles suggested by the certifier for this application.
-
getCertifier()
- Get certifier of application.
-
getDescription()
- Get description of application.
-
getName()
- Get application name.
-
isCertified()
- Check whether the application is certified.
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.
getName
public final String getName()
- Get application name.
getDescription
public final String getDescription()
- Get description of application.
getCertifier
public final String getCertifier()
- Get certifier of application.
For uncertified application this returns
ClassProfile.NOT_CERTIFIED_STRING, which currently
equals "Not certified".
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.
getCertifiedRoles
public final FlaggedName[] getCertifiedRoles()
- Get roles suggested by the certifier for this application.
All Packages Class Hierarchy This Package Previous Next Index