Most visited

Recently visited

Added in API level 1

PrivateCredentialPermission

public final class PrivateCredentialPermission
extends Permission

java.lang.Object
   ↳ java.security.Permission
     ↳ javax.security.auth.PrivateCredentialPermission


旧版安全代码; 不使用。

Summary

Public constructors

PrivateCredentialPermission(String name, String actions)

Public methods

String getActions()
String getCredentialClass()
String[][] getPrincipals()
boolean implies(Permission p)

Inherited methods

From class java.security.Permission
From class java.lang.Object
From interface java.security.Guard

Public constructors

PrivateCredentialPermission

Added in API level 1
PrivateCredentialPermission (String name, 
                String actions)

Parameters
name String
actions String

Public methods

getActions

Added in API level 1
String getActions ()

Returns
String

getCredentialClass

Added in API level 1
String getCredentialClass ()

Returns
String

getPrincipals

Added in API level 1
String[][] getPrincipals ()

Returns
String[][]

implies

Added in API level 1
boolean implies (Permission p)

Parameters
p Permission
Returns
boolean

Hooray!