docstring
stringlengths
3
2.38k
code
stringlengths
9
99.4k
store the mappings in this properties object to out , putting the specified comment at the beginning
AccessController . doPrivileged Writer . write Date . <init> Date . toString Writer . write StringBuilder . <init> Properties . entrySet Entry < Object , Object > . getKey String . cast Properties . dumpString StringBuilder . append String . cast Properties . dumpString StringBuilder . append AbstractStringBuilder . toString Writer . write AbstractStringBuilder . setLength Writer . flush
store the mappings in this properties object to out , putting the specified comment at the beginning
AccessController . doPrivileged Writer . write Date . <init> Date . toString Writer . write StringBuilder . <init> Properties . entrySet String . cast Properties . dumpString StringBuilder . append Properties . dumpString Entry < Object , Object > . getValue StringBuilder . append AbstractStringBuilder . toString Writer . write AbstractStringBuilder . setLength Writer . flush
store the mappings in this properties object to out , putting the specified comment at the beginning
AccessController . doPrivileged Writer . write Date . <init> Date . toString Writer . write StringBuilder . <init> Properties . entrySet String . cast Properties . dumpString StringBuilder . append Properties . dumpString Entry < Object , Object > . getValue StringBuilder . append Writer . write AbstractStringBuilder . setLength Writer . flush
store the mappings in this properties object to out , putting the specified comment at the beginning
AccessController . doPrivileged Writer . write Date . <init> Date . toString Writer . write StringBuilder . <init> Properties . entrySet String . cast Properties . dumpString StringBuilder . append String . cast Properties . dumpString StringBuilder . append Writer . write AbstractStringBuilder . setLength Writer . flush
store the mappings in this properties object to out , putting the specified comment at the beginning
AccessController . doPrivileged Writer . write Date . <init> Date . toString Writer . write StringBuilder . <init> String . cast Properties . dumpString StringBuilder . append Properties . dumpString Entry < Object , Object > . getValue Properties . dumpString StringBuilder . append AbstractStringBuilder . toString Writer . write AbstractStringBuilder . setLength Writer . flush
store the mappings in this properties object to out , putting the specified comment at the beginning
AccessController . doPrivileged Writer . write Date . toString Writer . write StringBuilder . <init> Entry < Object , Object > . getKey String . cast Properties . dumpString StringBuilder . append Properties . dumpString Entry < Object , Object > . getValue StringBuilder . append Writer . write AbstractStringBuilder . setLength Writer . flush
store the mappings in this properties object to out , putting the specified comment at the beginning
AccessController . doPrivileged Writer . write Date . toString Writer . write StringBuilder . <init> Entry < Object , Object > . getKey String . cast Properties . dumpString StringBuilder . append String . cast Properties . dumpString StringBuilder . append AbstractStringBuilder . toString Writer . write AbstractStringBuilder . setLength Writer . flush
store the mappings in this properties object to out , putting the specified comment at the beginning
AccessController . doPrivileged Writer . write Date . toString Writer . write StringBuilder . <init> Entry < Object , Object > . getKey String . cast Properties . dumpString StringBuilder . append String . cast Properties . dumpString StringBuilder . append Writer . write AbstractStringBuilder . setLength Writer . flush
store the mappings in this properties object to out , putting the specified comment at the beginning
AccessController . doPrivileged Writer . write Date . toString Writer . write StringBuilder . <init> Properties . entrySet Entry < Object , Object > . getKey String . cast Properties . dumpString StringBuilder . append Entry < Object , Object > . getValue Properties . dumpString StringBuilder . append Writer . write AbstractStringBuilder . setLength Writer . flush
store the mappings in this properties object to out , putting the specified comment at the beginning
AccessController . doPrivileged Writer . write Date . toString Writer . write StringBuilder . <init> Properties . entrySet Entry < Object , Object > . getKey String . cast Properties . dumpString StringBuilder . append String . cast Properties . dumpString StringBuilder . append AbstractStringBuilder . toString Writer . write AbstractStringBuilder . setLength Writer . flush
store the mappings in this properties object to out , putting the specified comment at the beginning
AccessController . doPrivileged Writer . write Date . toString Writer . write StringBuilder . <init> Properties . entrySet String . cast Properties . dumpString StringBuilder . append Properties . dumpString Entry < Object , Object > . getValue Properties . dumpString StringBuilder . append Writer . write AbstractStringBuilder . setLength Writer . flush
store the mappings in this properties object to out , putting the specified comment at the beginning
AccessController . doPrivileged Writer . write Date . toString Writer . write StringBuilder . <init> Properties . entrySet String . cast Properties . dumpString StringBuilder . append Properties . dumpString Entry < Object , Object > . getValue StringBuilder . append AbstractStringBuilder . toString Writer . write AbstractStringBuilder . setLength Writer . flush
store the mappings in this properties object to out , putting the specified comment at the beginning
AccessController . doPrivileged Writer . write Date . toString Writer . write StringBuilder . <init> String . cast Properties . dumpString StringBuilder . append Entry < Object , Object > . getValue Properties . dumpString StringBuilder . append AbstractStringBuilder . toString Writer . write AbstractStringBuilder . setLength Writer . flush
store the mappings in this properties object to out , putting the specified comment at the beginning
AccessController . doPrivileged Writer . write Date . toString Writer . write StringBuilder . <init> String . cast Properties . dumpString StringBuilder . append Entry < Object , Object > . getValue Properties . dumpString StringBuilder . append Writer . write AbstractStringBuilder . setLength Writer . flush
store the mappings in this properties object to out , putting the specified comment at the beginning
AccessController . doPrivileged Writer . write Date . toString Writer . write StringBuilder . <init> String . cast Properties . dumpString StringBuilder . append Entry < Object , Object > . getValue String . cast Properties . dumpString StringBuilder . append Writer . write AbstractStringBuilder . setLength Writer . flush
store the mappings in this properties object to out , putting the specified comment at the beginning
AccessController . doPrivileged Writer . write Date . toString Writer . write StringBuilder . <init> String . cast Properties . dumpString StringBuilder . append String . cast Properties . dumpString StringBuilder . append Writer . write AbstractStringBuilder . setLength Writer . flush
compute the principals in the subject available for authentication
AccessController . doPrivileged X500PrivateCredential [] . cast System . getSecurityManager Iterator . hasNext Iterator . next Principal . cast SecurityManager . checkPermission Collections . singleton Iterator . remove
compute the principals in the subject available for authentication
AccessController . doPrivileged X500PrivateCredential [] . cast System . getSecurityManager Set . iterator Iterator . hasNext Iterator . next Principal . cast SecurityManager . checkPermission Collections . singleton Iterator . remove Set . isEmpty
create an auth manager that retrieves principals and credentials for authentication from the specified subject
AccessController . doPrivileged X500PrivateCredential [] . cast
we may need to execute code within a do privileged block , and if so , it should be the privileges of the bundle with the blueprint file that get used , not the privileges of blueprint core
AccessController . getContext AccessControlContext . <init> ProtectionDomain . <init>
perform the specified privileged action with <unk> and restricted by the specified access control context and with a privilege scope <unk> specified permission arguments
AccessController . getContext AccessControlContext . <unk> AccessController . <unk> AccessController . doPrivileged
return a security context to use to restrict privileges when invoking methods on untrusted objects
AccessController . getContext AccessControlContext . cast AccessController . doPrivileged AccessControlContext . getDomainCombiner AccessControlContext . <init> AccessControlContext . cast PrivilegedAction . <init> AccessController . doPrivileged AccessController . getContext AccessController . doPrivileged PrivilegedAction . <init> Security . getContext
return a security context to use to restrict privileges when invoking methods on untrusted objects
AccessController . getContext AccessControlContext . cast AccessController . doPrivileged AccessControlContext . getDomainCombiner AccessControlContext . <init> AccessControlContext . cast PrivilegedAction . <init> AccessController . doPrivileged AccessController . getContext PrivilegedAction . <init> Security . getContext
check if this group permission was created with the token and lt ; <unk> and gt ; and the current thread and <unk> ; s subject is a member of the group indicated by the implied group permission
AccessController . getContext AccessControlContext . getDomainCombiner SubjectDomainCombiner . instance SubjectDomainCombiner . getSubject Subject . getPrincipals Principal . getName
return non null array containing the usable x
AccessController . getContext AccessController . doPrivileged Collection [] . cast PrivilegedAction . <init> Subject . getSubject Subject . getPrincipals Subject . getPrivateCredentials ArrayList . <init> Collection . iterator Iterator . hasNext Iterator . next X500PrivateCredential . cast X500PrivateCredential . getCertificate Collection . contains List . add List . toArray X500PrivateCredential [] . cast List . size
return non null array containing the usable x
AccessController . getContext AccessController . doPrivileged Collection [] . cast PrivilegedAction . <init> Subject . getSubject Subject . getPrincipals Subject . getPrivateCredentials ArrayList . <init> Collection . iterator X500PrivateCredential . cast X500PrivateCredential . getCertificate X509Certificate . getSubjectX500Principal Collection . contains List . add List . toArray X500PrivateCredential [] . cast List . size
return non null array containing the usable x
AccessController . getContext AccessController . doPrivileged Collection [] . cast PrivilegedAction . <init> Subject . getSubject Subject . getPrincipals Subject . getPrivateCredentials ArrayList . <init> Iterator . hasNext Iterator . next X500PrivateCredential . cast X500PrivateCredential . getCertificate String . equals X500PrivateCredential . getPrivateKey X509Certificate . getSubjectX500Principal Collection . contains List . add X500PrivateCredential [] . cast List . size
return non null array containing the usable x
AccessController . getContext AccessController . doPrivileged Collection [] . cast PrivilegedAction . <init> Subject . getSubject Subject . getPrincipals Subject . getPrivateCredentials ArrayList . <init> Iterator . hasNext Iterator . next X500PrivateCredential . cast X500PrivateCredential . getCertificate X500PrivateCredential . getPrivateKey Collection . contains List . add X500PrivateCredential [] . cast List . size
create a new instance of local class loader for the specified files and parent class loader
AccessController . getContext AccessController . doPrivileged PrivilegedAction . <init>
return a new url class loader instance for the given ur ls and <unk> class loader as its parent
AccessController . getContext AccessController . doPrivileged PrivilegedAction . <init>
return a new url class loader instance for the given ur ls and thespecified class loader as its parent
AccessController . getContext AccessController . doPrivileged PrivilegedAction . <init>
return principals of current subject , or null if no current subject
AccessController . getContext AccessController . doPrivileged PrivilegedAction < Subject > . <init> Subject . getSubject Subject . getPrincipals Set < Principal > . size Set < Principal > . toArray
find a service provider subclass of x path factory that supports the given object model using the service loader
AccessController . getContext AccessController . doPrivileged ServiceLoader . load XPathFactoryFinder . <unk>
return principals of current subject , or null if no current subject
AccessController . getContext AccessController . doPrivileged Subject . cast PrivilegedAction . <init> Subject . getSubject Subject . getPrincipals Principal [] . cast Set . size
perform the specified privileged exception action <unk> enabled and restricted by the specified access control context and with a privilege scope limited <unk> permission arguments
AccessController . getContext AccessController . doPrivileged
perform work as a particular subject in the presence of untrusted code , for distributed systems
AccessController . getContext AccessController . doPrivileged
return a new builder object
AccessController . getContext Builder . <init> PrivilegedExceptionAction . <init> KeyStore . getInstance KeyStore . load AccessController . doPrivileged KeyStore . cast
return non null array containing the usable x
AccessController . getContext Collection [] . cast PrivilegedAction . <init> Subject . getSubject Subject . getPrincipals Subject . getPrivateCredentials ArrayList . <init> Collection . iterator Iterator . hasNext Iterator . next X500PrivateCredential . cast X500PrivateCredential . getCertificate String . equals Collection . contains List . add X500PrivateCredential [] . cast List . size
return non null array containing the usable x
AccessController . getContext Collection [] . cast PrivilegedAction . <init> Subject . getSubject Subject . getPrincipals Subject . getPrivateCredentials ArrayList . <init> Collection . iterator Iterator . hasNext X500PrivateCredential . cast X500PrivateCredential . getCertificate Collection . contains List . add X500PrivateCredential [] . cast List . size
return non null array containing the usable x
AccessController . getContext Collection [] . cast PrivilegedAction . <init> Subject . getSubject Subject . getPrincipals Subject . getPrivateCredentials ArrayList . <init> Collection . iterator Iterator . hasNext X500PrivateCredential . cast X500PrivateCredential . getCertificate String . equals X500PrivateCredential . getPrivateKey String . equals Collection . contains List . add X500PrivateCredential [] . cast List . size
return non null array containing the usable x
AccessController . getContext Collection [] . cast PrivilegedAction . <init> Subject . getSubject Subject . getPrincipals Subject . getPrivateCredentials ArrayList . <init> Collection . iterator Iterator . next X500PrivateCredential . cast X500PrivateCredential . getCertificate Collection . contains List . add List . toArray X500PrivateCredential [] . cast List . size
return non null array containing the usable x
AccessController . getContext Collection [] . cast PrivilegedAction . <init> Subject . getSubject Subject . getPrincipals Subject . getPrivateCredentials ArrayList . <init> Collection . iterator X500PrivateCredential . cast X500PrivateCredential . getCertificate X500PrivateCredential . getPrivateKey String . equals Collection . contains List . add X500PrivateCredential [] . cast List . size
return non null array containing the usable x
AccessController . getContext Collection [] . cast PrivilegedAction . <init> Subject . getSubject Subject . getPrincipals Subject . getPrivateCredentials ArrayList . <init> Iterator . hasNext X500PrivateCredential . cast X500PrivateCredential . getCertificate Collection . contains List . add X500PrivateCredential [] . cast List . size
return non null array containing the usable x
AccessController . getContext Collection [] . cast PrivilegedAction . <init> Subject . getSubject Subject . getPrincipals Subject . getPrivateCredentials ArrayList . <init> Iterator . hasNext X500PrivateCredential . cast X500PrivateCredential . getCertificate String . equals X509Certificate . getSubjectX500Principal Collection . contains List . add X500PrivateCredential [] . cast List . size
return non null array containing the usable x
AccessController . getContext Collection [] . cast PrivilegedAction . <init> Subject . getSubject Subject . getPrincipals Subject . getPrivateCredentials ArrayList . <init> Iterator . hasNext X500PrivateCredential . cast X500PrivateCredential . getCertificate X509Certificate . getSubjectX500Principal Collection . contains List . add List . toArray X500PrivateCredential [] . cast List . size
create a lazy value code which will construct an instance when asked
AccessController . getContext Object [] . clone Object [] . cast
create a new instance of dynamic url class loader for the specified ur ls and parent class loader
AccessController . getContext PrivilegedAction . <init> AccessController . doPrivileged
obtain an object to expose from the given factory bean
AccessController . getContext PrivilegedAction . <init> AccessController . doPrivileged
create a new instance of local class loader for the specified files and default parent class loader
AccessController . getContext PrivilegedAction . <init>
find a service provider subclass of schema factory that supports the given schema language using the service loader
AccessController . getContext PrivilegedAction < SchemaFactory > . <init> AccessController . doPrivileged ServiceLoader . load
start parsing of the specified input source
AccessController . getContext PrivilegedAction < Void > . <init> SAXParserFactory . newInstance SAXParser . parse DocumentHandler . handleException
perform work as a particular subject in the presence of untrusted code , for distributed systems
AccessController . getContext Security . combine AccessController . doPrivileged
return principals of current subject , or null if no current subject
AccessController . getContext Subject . cast PrivilegedAction . <init> Subject . getSubject Subject . getPrincipals Set . size Principal [] . cast
return principals of current subject , or null if no current subject
AccessController . getContext Subject . cast PrivilegedAction . <init> Subject . getSubject Subject . getPrincipals Set . size Set . toArray Principal [] . cast
check if the java subject exists and has the admin role
AccessController . getContext Subject . getPrincipals
this sample privileged action performs the following operations : access the system property , java
AccessController . getContext Subject . getSubject Iterator < Principal > . hasNext Principal . cast Principal . toString System . getProperty File . <init> File . exists
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Iterator . next Principal . cast <unk> . instance Principal . getClass Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Iterator . next Principal . cast <unk> . instance Principal . getClass Principal . getName
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Iterator . next Principal . cast Principal . getName String . equals
this sample privileged action performs the following operations : access the system property , java
AccessController . getContext Subject . getSubject Subject . getPrincipals Iterator < Principal > . hasNext Iterator < Principal > . next Principal . cast Principal . toString System . getProperty File . <init>
control that the provided subject has got the permission requested against the policy
AccessController . getContext Subject . getSubject Subject . getPrincipals Policy . getPermissions PermissionCollection . implies StringBuilder . <init> Permission . toString StringBuilder . append
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast <unk> . instance Principal . getClass Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the principal name identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast <unk> . instance Principal . getName
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Principal . getClass Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the principal name identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Principal . getClass Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Principal . getClass Principal . getName
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the principal name identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Set . iterator <unk> . instance Principal . getClass Principal . getName
check that the principal contained in the subject is of type jmx principal and refers to the principal name identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Set . iterator Principal . cast <unk> . instance Principal . getClass Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Set . iterator Principal . cast <unk> . instance Principal . getClass Principal . getName
check that the principal contained in the subject is of type jmx principal and refers to the principal name identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Set . iterator Principal . cast <unk> . instance Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Set . iterator Principal . cast <unk> . instance Principal . getName
check that the principal contained in the subject is of type jmx principal and refers to the principal name identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Set . iterator Principal . cast Principal . getClass Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the principal name identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Set . iterator Principal . cast Principal . getClass Principal . getName
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Set . iterator Principal . cast Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the principal name identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Set . iterator Principal . cast Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Set . iterator Principal . getClass Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the principal name identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Set . iterator Principal . getClass Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Set . iterator Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . cast Set . iterator Principal . getName
recreate the current subject based upon the provided mapped principal and look for the groups that should be associated with the new subject
AccessController . getContext Subject . getSubject Subject . getPrincipals Principal . getName Subject . <init> Subject . getPrincipals
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Set . iterator Iterator . next Principal . cast Principal . getClass Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the principal name identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Set . iterator Iterator . next Principal . cast Principal . getClass Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the principal name identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Set . iterator Principal . cast <unk> . instance Principal . getClass Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Set . iterator Principal . cast <unk> . instance Principal . getClass Principal . getName
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Set . iterator Principal . cast <unk> . instance Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the principal name identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Set . iterator Principal . cast <unk> . instance Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the principal name identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Set . iterator Principal . cast <unk> . instance Principal . getName
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Set . iterator Principal . cast Principal . getClass Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the principal name identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Set . iterator Principal . cast Principal . getClass Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the principal name identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Set . iterator Principal . cast Principal . getName String . equals
check that the principal contained in the subject is of type jmx principal and refers to the monitor role identity
AccessController . getContext Subject . getSubject Subject . getPrincipals Set . iterator Principal . cast Principal . getName
grab the authenticated persisted subject in the execution stack
AccessController . getContext Subject . getSubject
if using <unk> as Subject , <unk> or <unk> as Subject , <unk> , returns the subject associated with the current <unk> it returns the subject associated with the current access control context
AccessController . getContext Subject . getSubject
return the current user subject code
AccessController . getContext Subject . getSubject
construct a target for a remote object impl with a specific object id
AccessController . getContext Thread . currentThread Thread . getContextClassLoader Target . <unk> Target . <unk>
create a new instance of url class loader for the specified ur ls and parent class loader
AccessController . getContext URLClassLoader . cast PrivilegedAction . <init>
invoke has entry String , String , Date , Date , <unk> with entity
Accessible . <unk> Accessible . getClass
invoke has entry String , String , int , operation with entity
Accessible . <unk> Accessible . getClass
invoke platform specific functionality to dispose an accessible object
Accessible . <unk> List < Accessible > . get Accessible . dispose