Package waffle.spring.boot
Class WaffleProperties
- java.lang.Object
-
- waffle.spring.boot.WaffleProperties
-
@ConfigurationProperties(prefix="waffle") public class WaffleProperties extends Object
The configuration properties that can be used with Spring Boot to configure WAFFLE.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWaffleProperties.SingleSignOnPropertiesThe Class SingleSignOnProperties.
-
Constructor Summary
Constructors Constructor Description WaffleProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPrincipalFormat()Gets the principal format.StringgetRoleFormat()Gets the role format.WaffleProperties.SingleSignOnPropertiesgetSso()Gets the sso.booleanisAllowGuestLogin()Checks if is allow guest login.voidsetAllowGuestLogin(boolean allowGuestLogin)Sets the allow guest login.voidsetPrincipalFormat(String principalFormat)Sets the principal format.voidsetRoleFormat(String roleFormat)Sets the role format.voidsetSso(WaffleProperties.SingleSignOnProperties sso)Sets the sso.
-
-
-
Method Detail
-
getPrincipalFormat
public String getPrincipalFormat()
Gets the principal format.- Returns:
- the principal format
-
setPrincipalFormat
public void setPrincipalFormat(String principalFormat)
Sets the principal format.- Parameters:
principalFormat- the new principal format
-
getRoleFormat
public String getRoleFormat()
Gets the role format.- Returns:
- the role format
-
setRoleFormat
public void setRoleFormat(String roleFormat)
Sets the role format.- Parameters:
roleFormat- the new role format
-
isAllowGuestLogin
public boolean isAllowGuestLogin()
Checks if is allow guest login.- Returns:
- true, if is allow guest login
-
setAllowGuestLogin
public void setAllowGuestLogin(boolean allowGuestLogin)
Sets the allow guest login.- Parameters:
allowGuestLogin- the new allow guest login
-
getSso
public WaffleProperties.SingleSignOnProperties getSso()
Gets the sso.- Returns:
- the sso
-
setSso
public void setSso(WaffleProperties.SingleSignOnProperties sso)
Sets the sso.- Parameters:
sso- the new sso
-
-