Uses of Class java.security.CodeSource

Uses in package javax.security.auth

Methods with parameter type java.security.CodeSource

PermissionCollection

Uses in package java.security

Constructors with parameter type java.security.CodeSource

Creates a new ProtectionDomain with the given CodeSource and Permissions.
ProtectionDomain.ProtectionDomain(CodeSource codesource, PermissionCollection permissions, ClassLoader classloader, Principal[] principals)
Creates a new ProtectionDomain qualified by the given CodeSource, Permissions, ClassLoader and array of 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.
PermissionCollection
Evaluates the global policy and returns a PermissionCollection object specifying the set of permissions allowed for code from the specified code source.
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 java.net

Methods with parameter type java.security.CodeSource

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