Uses of Class java.lang.SecurityException

Uses in package java.net

Constructors which throw type java.lang.SecurityException

Creates a URLClassLoader that gets classes from the supplied URLs.
Creates a URLClassLoader that gets classes from the supplied URLs.
Creates a URLClassLoader that gets classes from the supplied URLs.

Methods which throw type java.lang.SecurityException

URLClassLoader
Creates a new instance of a URLClassLoader that gets classes from the supplied URLs.
URLClassLoader
Creates a new instance of a URLClassLoader that gets classes from the supplied URLs and with the supplied loader as parent class loader.
PasswordAuthentication
Authenticator.requestPasswordAuthentication(String host, InetAddress addr, int port, String protocol, String prompt, String scheme)
This method is called whenever a username and password for a given network operation is required.
PasswordAuthentication
Authenticator.requestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String scheme)
This method is called whenever a username and password for a given network operation is required.

Uses in package java.util.prefs

Methods which throw type java.lang.SecurityException

Preferences
Returns the system preferences node for the package of a class.
Preferences
Returns the system preferences root node containing usefull preferences for all users.
Preferences
Returns the user preferences node for the package of a class.
Preferences
Returns the user preferences root node containing preferences for the the current user.

Uses in package java.util.logging

Constructors which throw type java.lang.SecurityException

Constructs a FileHandler, taking all property values from the current LogManager configuration.
FileHandler.FileHandler(String pattern, boolean append)
FileHandler.FileHandler(String pattern, int limit, int count)
FileHandler.FileHandler(String pattern, int limit, int count, boolean append)
Constructs a FileHandler given the pattern for the location and name of the produced log files, the size limit, the number of log files thorough which the handler will rotate, and the append property.

Methods which throw type java.lang.SecurityException

void
Adds a handler to the set of handlers that get notified when a log record is to be published.
void
Checks whether the current security context allows changing the configuration of the logging framework.
void
Closes this Handler after having flushed the buffers.
void
Closes this MemoryHandler and its associated target handler, discarding the contents of the memory buffer.
void
Closes this StreamHandler after having forced any data that may have been buffered to the underlying output device.
void
Configures the logging framework by reading a configuration file.
void
void
Removes a handler from the set of handlers that get notified when a log record is to be published.
void
Resets the logging configuration by removing all handlers for registered named loggers and setting their level to null.
void
Sets the character encoding which this handler uses for publishing log records.
void
Sets the character encoding which this handler uses for publishing log records.
void
Sets the Filter for controlling which log records will be published by this Handler.
void
void
Sets the Formatter which will be used to localize the text of log messages and to substitute message parameters.
void
Changes the output stream to which this handler publishes logging records.

Uses in package java.rmi

Classes derived from java.lang.SecurityException

class
Never thrown, but originally intended to wrap a SecurityException in the case of RMI.

Uses in package java.beans

Methods which throw type java.lang.SecurityException

void
Beans.setDesignTime(boolean designTime)
Sets whether it is design time.
void
Beans.setGuiAvailable(boolean guiAvailable)
Sets whether the GUI is available to use.

Uses in package java.io

Constructors which throw type java.lang.SecurityException

This method initializes a FileOutputStream object to write to the specified File object.
This method initializes a FileOutputStream object to write to the file represented by the specified FileDescriptor object.
This method initializes a FileOutputStream object to write to the named file.
FileOutputStream.FileOutputStream(String path, boolean append)
This method initializes a FileOutputStream object to write to the named file.
This method initializes a new FileWriter object to write to the specified File object.
This method initializes a new FileWriter object to write to the specified FileDescriptor object.
Protected constructor that allows subclasses to override deserialization.
Protected constructor that allows subclasses to override serialization.

Methods which throw type java.lang.SecurityException

boolean
If enable is true and this object is trusted, then replaceObject (Object) will be called in subsequent calls to writeObject (Object).
boolean
If enable is true and this object is trusted, then resolveObject (Object) will be called in subsequent calls to readObject (Object).

Uses in package javax.transaction

Methods which throw type java.lang.SecurityException

void
void
void
void
void

Uses in package java.lang

Constructors which throw type java.lang.SecurityException

Create a new ClassLoader with as parent the system classloader.

Uses in package java.security

Classes derived from java.lang.SecurityException

class
This exception is thrown when the AccessController denies an attempt to perform an operation.