|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.sso.impl.SSOSiteImpl
public class SSOSiteImpl
SSOSiteImpl Class holding information about the Site and credentials for Single Sign on SSO. OJB will map the database entries into this class
Constructor Summary | |
---|---|
SSOSiteImpl()
|
Method Summary | |
---|---|
void |
addPrincipal(SSOPrincipal principal)
addPrincipal Adds the SSOPrincipal to the principals collection |
void |
configFormAuthentication(java.lang.String formUserField,
java.lang.String formPwdField)
Form authentication requires two fields that hold the credential information for the request. |
java.lang.String |
getFormPwdField()
|
java.lang.String |
getFormUserField()
|
java.lang.String |
getName()
|
java.util.Collection |
getPrincipals()
|
java.lang.String |
getRealm()
|
java.util.Collection |
getRemotePrincipals()
getRemotePrincipals |
int |
getSiteId()
|
java.lang.String |
getSiteURL()
|
boolean |
isAllowUserSet()
|
boolean |
isCertificateRequired()
|
boolean |
isChallangeResponseAuthentication()
|
boolean |
isFormAuthentication()
|
void |
removePrincipal(long principalId)
removePrincipal() removes a principal from the principals collection |
void |
setAllowUserSet(boolean isAllowUserSet)
|
void |
setCertificateRequired(boolean isCertificateRequired)
|
void |
setChallengeResponseAuthentication()
|
void |
setChallengeResponseAuthentication(boolean isChallangeResponseAuthentication)
|
void |
setFormAuthentication(boolean isFormAuthentication)
Define the Authentication methods. |
void |
setFormAuthentication(java.lang.String formUserField,
java.lang.String formPwdField)
Form authentication requires two fields that hold the credential information for the request. |
void |
setFormPwdField(java.lang.String formPwdField)
|
void |
setFormUserField(java.lang.String formUserField)
|
void |
setName(java.lang.String name)
|
void |
setPrincipals(java.util.Collection principals)
|
void |
setRealm(java.lang.String realm)
|
void |
setRemotePrincipals(java.util.Collection remotePrincipals)
setRemotePrincipals |
void |
setSiteId(int siteId)
|
void |
setSiteURL(java.lang.String siteURL)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSOSiteImpl()
Method Detail |
---|
public boolean isAllowUserSet()
isAllowUserSet
in interface SSOSite
public void setAllowUserSet(boolean isAllowUserSet)
setAllowUserSet
in interface SSOSite
isAllowUserSet
- The isAllowUserSet to set.public boolean isCertificateRequired()
isCertificateRequired
in interface SSOSite
public void setCertificateRequired(boolean isCertificateRequired)
setCertificateRequired
in interface SSOSite
isCertificateRequired
- The isCertificateRequired to set.public java.lang.String getName()
getName
in interface SSOSite
public void setName(java.lang.String name)
setName
in interface SSOSite
name
- The name to set.public java.util.Collection getPrincipals()
getPrincipals
in interface SSOSite
public void setPrincipals(java.util.Collection principals)
setPrincipals
in interface SSOSite
principals
- The principals to set.public int getSiteId()
getSiteId
in interface SSOSite
public void setSiteId(int siteId)
setSiteId
in interface SSOSite
siteId
- The siteId to set.public java.lang.String getSiteURL()
getSiteURL
in interface SSOSite
public void setSiteURL(java.lang.String siteURL)
setSiteURL
in interface SSOSite
siteURL
- The siteURL to set.public void addPrincipal(SSOPrincipal principal) throws SSOException
addPrincipal
in interface SSOSite
SSOException
public void removePrincipal(long principalId) throws SSOException
removePrincipal
in interface SSOSite
SSOException
public java.util.Collection getRemotePrincipals()
SSOSite
getRemotePrincipals
in interface SSOSite
public void setRemotePrincipals(java.util.Collection remotePrincipals)
SSOSite
setRemotePrincipals
in interface SSOSite
remotePrincipals
- The remotePrincipals to set.public void setFormAuthentication(java.lang.String formUserField, java.lang.String formPwdField)
public void setChallengeResponseAuthentication()
public java.lang.String getFormPwdField()
getFormPwdField
in interface SSOSite
public void setFormPwdField(java.lang.String formPwdField)
setFormPwdField
in interface SSOSite
public java.lang.String getFormUserField()
getFormUserField
in interface SSOSite
public void setFormUserField(java.lang.String formUserField)
setFormUserField
in interface SSOSite
public boolean isChallangeResponseAuthentication()
isChallangeResponseAuthentication
in interface SSOSite
public void setChallengeResponseAuthentication(boolean isChallangeResponseAuthentication)
setChallengeResponseAuthentication
in interface SSOSite
public boolean isFormAuthentication()
isFormAuthentication
in interface SSOSite
public void setFormAuthentication(boolean isFormAuthentication)
SSOSite
setFormAuthentication
in interface SSOSite
public void configFormAuthentication(java.lang.String formUserField, java.lang.String formPwdField)
SSOSite
configFormAuthentication
in interface SSOSite
public void setRealm(java.lang.String realm)
setRealm
in interface SSOSite
public java.lang.String getRealm()
getRealm
in interface SSOSite
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |