Ja.NET Standard Edition 5.0

Documentation API Specification

Contents

Security Class Reference

List of all members.


Detailed Description

For access to security providers and properties.

Static Public Member Functions

static String getAlgorithmProperty (String algName, String propName)
 Deprecated method which returns null.
static synchronized int insertProviderAt (Provider provider, int position)
 .intel.drl.spec_ref
static int addProvider (Provider provider)
 Adds the extra provider to the collection of providers.
static synchronized void removeProvider (String name)
 .intel.drl.spec_ref
static synchronized Provider[] getProviders ()
 .intel.drl.spec_ref
static synchronized Provider getProvider (String name)
 .intel.drl.spec_ref
static Provider[] getProviders (String filter)
 Returns the collection of providers which meet the user supplied string filter.
static synchronized Provider[] getProviders (Map< String, String > filter)
 .intel.drl.spec_ref
static String getProperty (String key)
 Answers the value of the security property named by the argument.
static void setProperty (String key, String datnum)
 Sets a given security property.
static Set< String > getAlgorithms (String serviceName)
 .intel.drl.spec_ref

Static Package Functions

 [static initializer]

Private Member Functions

 Security ()
 This class can't be instantiated.

Static Private Member Functions

static void registerDefaultProviders ()
static void renumProviders ()
 Update sequence numbers of all providers.

Static Private Attributes

static Properties secprops = new Properties()

Classes

class  SecurityDoor

Constructor & Destructor Documentation

Security (  )  [private]

This class can't be instantiated.


Member Function Documentation

[static initializer] (  )  [static, package]

static void registerDefaultProviders (  )  [static, private]

static String getAlgorithmProperty ( String  algName,
String  propName 
) [static]

Deprecated method which returns null.

Parameters:
algName 
propName 
Returns:
null

static synchronized int insertProviderAt ( Provider  provider,
int  position 
) [static]

.intel.drl.spec_ref

static int addProvider ( Provider  provider  )  [static]

Adds the extra provider to the collection of providers.

Parameters:
provider 
Returns:
int The priority/position of the provider added.
Exceptions:
SecurityException If there is a SecurityManager installed and it denies adding a new provider.

static synchronized void removeProvider ( String  name  )  [static]

.intel.drl.spec_ref

static synchronized Provider [] getProviders (  )  [static]

.intel.drl.spec_ref

static synchronized Provider getProvider ( String  name  )  [static]

.intel.drl.spec_ref

static Provider [] getProviders ( String  filter  )  [static]

Returns the collection of providers which meet the user supplied string filter.

Parameters:
filter case-insensitive filter
Returns:
the providers which meet the user supplied string filter filter. A null value signifies that none of the installed providers meets the filter specification
Exceptions:
InvalidParameterException if an unusable filter is supplied

static synchronized Provider [] getProviders ( Map< String, String >  filter  )  [static]

.intel.drl.spec_ref

static String getProperty ( String  key  )  [static]

Answers the value of the security property named by the argument.

Parameters:
key String The property name
Returns:
String The property value
Exceptions:
SecurityException If there is a SecurityManager installed and it will not allow the property to be fetched from the current access control context.

static void setProperty ( String  key,
String  datnum 
) [static]

Sets a given security property.

Parameters:
key String The property name.
datnum String The property value.
Exceptions:
SecurityException If there is a SecurityManager installed and it will not allow the property to be set from the current access control context.

static Set<String> getAlgorithms ( String  serviceName  )  [static]

.intel.drl.spec_ref

static void renumProviders (  )  [static, private]

Update sequence numbers of all providers.


Member Data Documentation

Properties secprops = new Properties() [static, private]