public class AuthorizationSource extends MetaSubSource implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_PASSWORD_IS_MANDATORY |
boolean |
passwordIsMandatory |
name, rewrittenLogin
Constructor and Description |
---|
AuthorizationSource() |
AuthorizationSource(AuthorizationSource o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this AuthorizationSource.
|
static AuthorizationSource |
fromString(java.lang.String s)
String representation of this AuthorizationSource.
|
boolean |
isPasswordIsMandatory()
Forces the password to match
|
AuthorizationSource |
makeCopy()
Creates and returns a deep copy of this AuthorizationSource.
|
static AuthorizationSource |
readFrom(java.io.InputStream is)
Read this AuthorizationSource from an XML fragment.
|
void |
setPasswordIsMandatory(boolean passwordIsMandatory)
Forces the password to match
|
java.lang.String |
toString()
String representation of this AuthorizationSource.
|
AuthorizationSource |
withName(java.lang.String name) |
AuthorizationSource |
withPasswordIsMandatory(boolean passwordIsMandatory) |
AuthorizationSource |
withPasswordIsMandatory(java.lang.Boolean passwordIsMandatory) |
AuthorizationSource |
withRewrittenLogin(java.lang.String rewrittenLogin) |
void |
writeTo(java.io.OutputStream os)
Write this AuthorizationSource as an XML fragment
|
getName, getRewrittenLogin, setName, setRewrittenLogin
public boolean passwordIsMandatory
public static final boolean DEFAULT_PASSWORD_IS_MANDATORY
public AuthorizationSource()
public AuthorizationSource(AuthorizationSource o)
public AuthorizationSource withName(java.lang.String name)
withName
in class MetaSubSource
public AuthorizationSource withRewrittenLogin(java.lang.String rewrittenLogin)
withRewrittenLogin
in class MetaSubSource
public void setPasswordIsMandatory(boolean passwordIsMandatory)
public boolean isPasswordIsMandatory()
public AuthorizationSource withPasswordIsMandatory(boolean passwordIsMandatory)
public AuthorizationSource withPasswordIsMandatory(java.lang.Boolean passwordIsMandatory)
public AuthorizationSource makeCopy()
makeCopy
in class MetaSubSource
public static AuthorizationSource readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class MetaSubSource
javax.xml.bind.JAXBException
java.io.IOException
public static AuthorizationSource fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class MetaSubSource
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class MetaSubSource
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.