public final class DefaultCredentialsBuilder extends Object implements org.mule.runtime.api.security.CredentialsBuilder
Credentials implementation.| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.security.Credentials |
build() |
DefaultCredentialsBuilder |
withPassword(char[] password) |
DefaultCredentialsBuilder |
withRoles(Object roles) |
DefaultCredentialsBuilder |
withUsername(String username) |
public DefaultCredentialsBuilder withUsername(String username)
withUsername in interface org.mule.runtime.api.security.CredentialsBuilderusername - the username of this Credentialsthis builderpublic DefaultCredentialsBuilder withPassword(char[] password)
withPassword in interface org.mule.runtime.api.security.CredentialsBuilderpassword - the password of this Credentialsthis builderpublic DefaultCredentialsBuilder withRoles(Object roles)
withRoles in interface org.mule.runtime.api.security.CredentialsBuilderroles - the enabled roles of this Credentialsthis builderpublic org.mule.runtime.api.security.Credentials build()
build in interface org.mule.runtime.api.security.CredentialsBuilderCredentialsCopyright © 2003–2025 MuleSoft, Inc.. All rights reserved.