|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LoginConfiguration
Maintains information about all available login modules. Each login module is described with LoginModuleDescriptor object.
To register new login module use method registerLoginModule(LoginModuleDescriptor).
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_GUEST_USERNAME
|
| Method Summary | |
|---|---|
javax.security.auth.login.Configuration |
createJAASConfiguration()
Creates JAAS login configuration. |
java.lang.String |
getAuthType()
|
java.lang.String |
getGuestUsername()
Returns username of the guest user |
java.util.Collection<LoginModuleDescriptor> |
getRegisteredLoginModules()
Returns collection of registered login module descriptors. |
LoginModuleDescriptor |
getSelectedLoginModuleDescriptor()
Returns descriptor of selected login module. |
java.lang.String |
getTextForLoginPage()
Returns text to show on the login page. |
boolean |
isDefaultLoginConfigured()
Returns true if default login module is configured (authorization via own server database). |
boolean |
isFreeRegistrationAllowed()
Returns true if free user account registration is allowed. |
boolean |
isGuestLoginAllowed()
Returns true if guest login is allowed. |
void |
registerLoginModule(LoginModuleDescriptor moduleDescriptor)
Registers new login module |
| Methods inherited from interface jetbrains.buildServer.XmlExternalizable |
|---|
writeTo |
| Field Detail |
|---|
static final java.lang.String DEFAULT_GUEST_USERNAME
| Method Detail |
|---|
void registerLoginModule(@NotNull
LoginModuleDescriptor moduleDescriptor)
moduleDescriptor - desriptor of the login module@Nullable java.lang.String getTextForLoginPage()
boolean isDefaultLoginConfigured()
@NotNull LoginModuleDescriptor getSelectedLoginModuleDescriptor()
boolean isGuestLoginAllowed()
java.lang.String getGuestUsername()
boolean isFreeRegistrationAllowed()
java.util.Collection<LoginModuleDescriptor> getRegisteredLoginModules()
javax.security.auth.login.Configuration createJAASConfiguration()
java.lang.String getAuthType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||