Udostępnij za pośrednictwem


IPrincipal.Implies(Subject) Method

Definition

Returns true if the specified subject is implied by this principal.

[Android.Runtime.Register("implies", "(Ljavax/security/auth/Subject;)Z", "GetImplies_Ljavax_security_auth_Subject_Handler:Java.Security.IPrincipal, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public virtual bool Implies (Javax.Security.Auth.Subject? subject);
[<Android.Runtime.Register("implies", "(Ljavax/security/auth/Subject;)Z", "GetImplies_Ljavax_security_auth_Subject_Handler:Java.Security.IPrincipal, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member Implies : Javax.Security.Auth.Subject -> bool
override this.Implies : Javax.Security.Auth.Subject -> bool

Parameters

subject
Subject

the Subject

Returns

true if subject is non-null and is implied by this principal, or false otherwise.

Attributes

Remarks

Returns true if the specified subject is implied by this principal.

Added in 1.8.

Java documentation for java.security.Principal.implies(javax.security.auth.Subject).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to