Uses of Class java.security.CodeSource

Uses in package java.security

Constructors with parameter type java.security.CodeSource

Initializes a new instance of ProtectionDomain representing the specified CodeSource and set of permissions.
ProtectionDomain.ProtectionDomain(CodeSource codesource, PermissionCollection permissions, ClassLoader classloader, Principal[] principals)
This method initializes a new instance of ProtectionDomain given its CodeSource, granted permissions, associated ClassLoader and Principals.

Methods with parameter type java.security.CodeSource

Class
SecureClassLoader.defineClass(String name, byte[] b, int off, int len, CodeSource cs)
Creates a class using an array of bytes and a CodeSource.
Class
Creates a class using an ByteBuffer and a CodeSource.
PermissionCollection
Returns the set of Permissions allowed for a given CodeSource.
PermissionCollection
Returns a PermissionCollection for the specified CodeSource.
boolean
This method tests to see if a specified CodeSource is implied by this object.

Methods with return type java.security.CodeSource

CodeSource
Returns the CodeSource of this domain.

Uses in package javax.security.auth

Methods with parameter type java.security.CodeSource

PermissionCollection

Uses in package java.net

Methods with parameter type java.security.CodeSource

PermissionCollection
Returns the permissions needed to access a particular code source.