[]Struct jni_android_sys::java::security::AuthProvider

#[repr(transparent)]
pub struct AuthProvider(_);

public class AuthProvider

Required feature: "java-security-AuthProvider"

Methods

impl AuthProvider

pub fn login<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Subject>>,
    arg1: impl Into<Option<&'env CallbackHandler>>
) -> Result<(), Local<'env, Throwable>>
[src]

login

Required features: "javax-security-auth-Subject", "javax-security-auth-callback-CallbackHandler"

pub fn logout<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn setCallbackHandler<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CallbackHandler>>
) -> Result<(), Local<'env, Throwable>>
[src]

setCallbackHandler

Required features: "javax-security-auth-callback-CallbackHandler"

Methods from Deref<Target = Provider>

pub fn getName<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getName

Required features: "java-lang-String"

pub fn getVersion<'env>(&'env self) -> Result<f64, Local<'env, Throwable>>[src]

pub fn getInfo<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getInfo

Required features: "java-lang-String"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn clear<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn load<'env>(
    &'env self,
    arg0: impl Into<Option<&'env InputStream>>
) -> Result<(), Local<'env, Throwable>>
[src]

load

Required features: "java-io-InputStream"

pub fn putAll<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Map>>
) -> Result<(), Local<'env, Throwable>>
[src]

putAll

Required features: "java-util-Map"

pub fn entrySet<'env>(
    &'env self
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
[src]

entrySet

Required features: "java-util-Set"

pub fn keySet<'env>(
    &'env self
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
[src]

keySet

Required features: "java-util-Set"

pub fn values<'env>(
    &'env self
) -> Result<Option<Local<'env, Collection>>, Local<'env, Throwable>>
[src]

values

Required features: "java-util-Collection"

pub fn put<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>,
    arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

put

Required features: "java-lang-Object"

pub fn putIfAbsent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>,
    arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

putIfAbsent

Required features: "java-lang-Object"

pub fn remove_Object<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

remove

Required features: "java-lang-Object"

pub fn remove_Object_Object<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>,
    arg1: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

remove

Required features: "java-lang-Object"

pub fn replace_Object_Object_Object<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>,
    arg1: impl Into<Option<&'env Object>>,
    arg2: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

replace

Required features: "java-lang-Object"

pub fn replace_Object_Object<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>,
    arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

replace

Required features: "java-lang-Object"

pub fn replaceAll<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BiFunction>>
) -> Result<(), Local<'env, Throwable>>
[src]

replaceAll

Required features: "java-util-function-BiFunction"

pub fn compute<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>,
    arg1: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

compute

Required features: "java-lang-Object", "java-util-function-BiFunction"

pub fn computeIfAbsent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>,
    arg1: impl Into<Option<&'env Function>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

computeIfAbsent

Required features: "java-lang-Object", "java-util-function-Function"

pub fn computeIfPresent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>,
    arg1: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

computeIfPresent

Required features: "java-lang-Object", "java-util-function-BiFunction"

pub fn merge<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>,
    arg1: impl Into<Option<&'env Object>>,
    arg2: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

merge

Required features: "java-lang-Object", "java-util-function-BiFunction"

pub fn get<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

get

Required features: "java-lang-Object"

pub fn getOrDefault<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>,
    arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

getOrDefault

Required features: "java-lang-Object"

pub fn forEach<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BiConsumer>>
) -> Result<(), Local<'env, Throwable>>
[src]

forEach

Required features: "java-util-function-BiConsumer"

pub fn keys<'env>(
    &'env self
) -> Result<Option<Local<'env, Enumeration>>, Local<'env, Throwable>>
[src]

keys

Required features: "java-util-Enumeration"

pub fn elements<'env>(
    &'env self
) -> Result<Option<Local<'env, Enumeration>>, Local<'env, Throwable>>
[src]

elements

Required features: "java-util-Enumeration"

pub fn getProperty<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getProperty

Required features: "java-lang-String"

pub fn getService<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Provider_Service>>, Local<'env, Throwable>>
[src]

getService

Required features: "java-lang-String", "java-security-Provider_Service"

pub fn getServices<'env>(
    &'env self
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
[src]

getServices

Required features: "java-util-Set"

Trait Implementations

impl AsJValue for AuthProvider

impl AsValidJObjectAndEnv for AuthProvider

impl Deref for AuthProvider

type Target = Provider

The resulting type after dereferencing.

impl JniType for AuthProvider

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.