mirror of https://github.com/apache/cloudstack.git
saml: Use camelCase api names for SAML login/logout apis
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
0761d2dda8
commit
f543d86eff
|
|
@ -23,8 +23,8 @@ login=15
|
|||
logout=15
|
||||
|
||||
### SAML SSO/SLO commands
|
||||
samlsso=15
|
||||
samlslo=15
|
||||
samlSso=15
|
||||
samlSlo=15
|
||||
getSPMetadata=15
|
||||
|
||||
### Account commands
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ import java.security.PrivateKey;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@APICommand(name = "samlsso", description = "SP initiated SAML Single Sign On", requestHasSensitiveInfo = true, responseObject = LoginCmdResponse.class, entityType = {})
|
||||
@APICommand(name = "samlSso", description = "SP initiated SAML Single Sign On", requestHasSensitiveInfo = true, responseObject = LoginCmdResponse.class, entityType = {})
|
||||
public class SAML2LoginAPIAuthenticatorCmd extends BaseCmd implements APIAuthenticator {
|
||||
public static final Logger s_logger = Logger.getLogger(SAML2LoginAPIAuthenticatorCmd.class.getName());
|
||||
private static final String s_name = "loginresponse";
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ import java.io.IOException;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@APICommand(name = "samlslo", description = "SAML Global Log Out API", responseObject = LogoutCmdResponse.class, entityType = {})
|
||||
@APICommand(name = "samlSlo", description = "SAML Global Log Out API", responseObject = LogoutCmdResponse.class, entityType = {})
|
||||
public class SAML2LogoutAPIAuthenticatorCmd extends BaseCmd implements APIAuthenticator {
|
||||
public static final Logger s_logger = Logger.getLogger(SAML2LogoutAPIAuthenticatorCmd.class.getName());
|
||||
private static final String s_name = "logoutresponse";
|
||||
|
|
|
|||
|
|
@ -1423,7 +1423,7 @@ public enum Config {
|
|||
ManagementServer.class,
|
||||
String.class,
|
||||
"saml2.sp.sso.url",
|
||||
"http://localhost:8080/client/api?command=samlsso",
|
||||
"http://localhost:8080/client/api?command=samlSso",
|
||||
"SAML2 CloudStack Service Provider Single Sign On URL",
|
||||
null),
|
||||
SAMLServiceProviderSingleLogOutURL(
|
||||
|
|
@ -1431,7 +1431,7 @@ public enum Config {
|
|||
ManagementServer.class,
|
||||
String.class,
|
||||
"saml2.sp.slo.url",
|
||||
"http://localhost:8080/client/api?command=samlslo",
|
||||
"http://localhost:8080/client/api?command=samlSlo",
|
||||
"SAML2 CloudStack Service Provider Single Log Out URL",
|
||||
null),
|
||||
SAMLIdentityProviderID(
|
||||
|
|
|
|||
Loading…
Reference in New Issue