Cisco Cisco Prime Central 1.2 Developer's Guide
void
setSSLSocketFactory(javax.net.ssl.SSLSocketFactory userDefinedSocketFactory)
Sets a custom SSL socket factory (https) for the Prime CAS client.
Sets a custom SSL socket factory (https) for the Prime CAS client.
int
validateCredential(java.lang.String session, java.lang.String username, java.lang.String password)
Validates a client's user credentials.
Validates a client's user credentials.
boolean
validateSession(java.lang.String session, boolean resetTimer)
Allows a client to check the CAS session validation and reset the CAS session timeout, if needed.
Allows a client to check the CAS session validation and reset the CAS session timeout, if needed.
SuiteSession
validateTicket(java.lang.String ticket, java.lang.String serviceURL)
Allows a client to validate a ticket.
Allows a client to validate a ticket.
PrimeClientService
com.cisco.prime.sso.client.PrimeClientService
com.cisco.prime.sso.client.PrimeClientService
----public classPrimeClientServiceextends java.lang.Object
Constructor Summary
PrimeClientService(java.lang.String dmHome)
Constructs a new Prime client service.
Method Summary
java.lang.String
get(java.lang.String url)
HTTP get method.
Login is required.
HTTP get method.
Login is required.
java.lang.String
getAllSubSystemInventory()
Get all subsystems.
Login is required.
Get all subsystems.
Login is required.
java.lang.String
getCASInfo()
Get CAS info.
Login is required.
Get CAS info.
Login is required.
java.lang.String
getCasURL()
Get CAS URL.
Get CAS URL.
java.lang.String
getPortalHostName()
Get portal hostname.
Get portal hostname.
java.lang.String
getPortalPort()
Get portal port.
Get portal port.
java.lang.String
getSubSystemById(java.lang.String id)
Get subsystems by ID.
Login is required.
Get subsystems by ID.
Login is required.
java.lang.String
getSubSystemByType(java.lang.String type)
Get subsystems by type.
Login is required.
Get subsystems by type.
Login is required.
java.lang.String
getSubSystemByUri(java.lang.String uri)
Get subsystems by URI.
Login is required.
Get subsystems by URI.
Login is required.
java.lang.String
getSuiteAdminPwd()
Get portal suite admin password.
Get portal suite admin password.
boolean
login(java.lang.String username)
Log in.
Log in.
void
logout()
Log out.
Log out.