From 43e57a42832ea8b4ceb0317f3c9028a4174ffa7b Mon Sep 17 00:00:00 2001
From: mcentner
+
+Log in to sample application using custom form
+
+Choose BKU (HTMLComplete or HTMLSelect) and log in
+
+Choose BKU (HTMLSelect) using custom form and log in
+
+">Wrong parameters example
+
+
\ No newline at end of file
diff --git a/id/oa/src/main/webapp/chooseBKU.jsp b/id/oa/src/main/webapp/chooseBKU.jsp
new file mode 100644
index 000000000..0135b6fdf
--- /dev/null
+++ b/id/oa/src/main/webapp/chooseBKU.jsp
@@ -0,0 +1,19 @@
+
+
+BKU Auswahl
+
+
+ + + + \ No newline at end of file diff --git a/id/oa/src/main/webapp/getBKUSelectTag.jsp b/id/oa/src/main/webapp/getBKUSelectTag.jsp new file mode 100644 index 000000000..028dbd348 --- /dev/null +++ b/id/oa/src/main/webapp/getBKUSelectTag.jsp @@ -0,0 +1,6 @@ + diff --git a/id/oa/src/main/webapp/index.jsp b/id/oa/src/main/webapp/index.jsp new file mode 100644 index 000000000..35e49d743 --- /dev/null +++ b/id/oa/src/main/webapp/index.jsp @@ -0,0 +1,60 @@ +<%@ page import="java.util.*,javax.servlet.http.*,sun.misc.BASE64Decoder" %> + + +Request headers: +
<%=key%> | <%=value%> |
QueryString: "<%=query%>" +
+ +Request parameters: +
<%=name%> | <%=value%> |
Cookies: +
<%=cookie.getName()%> | <%=cookie.getValue()%> |
Basic authentication credentials: <%=decAuthHeader%>
+<% } %> + + + \ No newline at end of file diff --git a/id/oa/src/main/webapp/stateful_login.jsp b/id/oa/src/main/webapp/stateful_login.jsp new file mode 100644 index 000000000..eaede507f --- /dev/null +++ b/id/oa/src/main/webapp/stateful_login.jsp @@ -0,0 +1,29 @@ +<%@ page import="javax.servlet.http.*" %> +<% + /* check request's remote IP address - must be moa-id-proxy's address */ + String remoteIPAddress = request.getRemoteAddr(); + if (! "127.0.0.1".equals(remoteIPAddress)) { /* Substitute "127.0.0.1" for moa-id-proxy's IP address */ + response.setStatus(403); + return; + } + + /* store authentication data in cookies */ + String fn = request.getParameter("FamilyName"); + String gn = request.getParameter("GivenName"); + /* set cookie domain and cookie path ! */ + String cookieDomain = ".test.test"; /* Set this to the common domain of moa-id-proxy and of the online application */ + String cookiePath = request.getContextPath(); /* Set this to the context path of the online application */ + + Cookie cfn = new Cookie("familyname", fn); + cfn.setDomain(cookieDomain); + cfn.setPath(cookiePath); + response.addCookie(cfn); + + Cookie cgn = new Cookie("givenname", gn); + cgn.setDomain(cookieDomain); + cgn.setPath(cookiePath); + response.addCookie(cgn); + + /* redirect to online application's start page */ + response.sendRedirect("http://oa.test.test:8080/oa/index.jsp"); /* Substitute for URL in online application */ +%> diff --git a/id/server/auth/src/main/webapp/WEB-INF/server-config.wsdd b/id/server/auth/src/main/webapp/WEB-INF/server-config.wsdd new file mode 100644 index 000000000..0f0eb49d1 --- /dev/null +++ b/id/server/auth/src/main/webapp/WEB-INF/server-config.wsdd @@ -0,0 +1,29 @@ + +Bei der Anmeldung ist ein Fehler aufgetreten.
+ +<% if (errorMessage != null) { %> +
+<%= errorMessage%>
+
+<%= exceptionThrown.getMessage()%> +
+<% } %> +<% if (wrongParameters != null) { %> +Die Angabe der Parameter ist unvollständig.
+ Beispiele für korrekte Links zur MOA-ID Authentisierung sind: +
++<a href="https://<MOA-URL>/StartAuthentication?Target=<Geschäftsbereich>&OA=<OA-URL>&Template=<Template-URL>"> +
++<a href="https://<MOA-URL>/SelectBKU?Target=<Geschäftsbereich>&OA=<OA-URL>&Template=<Template-URL>&BKUSelectionTemplate=<BKU-Template-URL>"> +
++Im Falle einer Applikation aus dem privatwirtschaftlichen Bereich (type="businessService") entfällt die Angabe des Target Parameters: +
++<a href="https://<MOA-URL>/StartAuthentication?OA=<OA-URL>&Template=<Template-URL>"> +
++<a href="https://<MOA-URL>/SelectBKU?OA=<OA-URL>&Template=<Template-URL>&BKUSelectionTemplate=<BKU-Template-URL>"> +
+Die Angabe der Parameter "Template" und "BKUSelectionTemplate" ist optional.
+<% } %> + + \ No newline at end of file diff --git a/id/server/auth/src/main/webapp/index.jsp b/id/server/auth/src/main/webapp/index.jsp new file mode 100644 index 000000000..733ba317f --- /dev/null +++ b/id/server/auth/src/main/webapp/index.jsp @@ -0,0 +1,40 @@ + + +
+<%= message%>
+
Sie haben sich für Anmeldung mit Ihrer Bürgerkarte entschieden. Da es verschiedene Formen der Bürgerkarte gibt, müssen Sie nun wählen, welche Sie bei der Anmeldung verwenden wollen.
+Bei der Anmeldung mit einer A-Trust Bürgerkarte oder Ihrer + E-CARD benötigen Sie + eine funktionsfähige Bürgerkartensoftware sowie einen passenden Kartenleser.
+Bei der Anmeldung mit der A1-Signatur über Ihr Handy wird keine Bürgerkartensoftware und + kein Kartenleser benötigt.
++ + + + diff --git a/id/server/data/deploy/conf/moa-id/sampleTemplates/SampleTemplate.html b/id/server/data/deploy/conf/moa-id/sampleTemplates/SampleTemplate.html new file mode 100644 index 000000000..83a6639e6 --- /dev/null +++ b/id/server/data/deploy/conf/moa-id/sampleTemplates/SampleTemplate.html @@ -0,0 +1,56 @@ + + + +
Wenn Sie in Folge die Schaltfläche "Anmeldung mit Bürgerkarte" +aktivieren, so werden Sie zur Signatur der Anmeldedaten aufgefordert. Wenn Sie diese +signieren, so werden Sie zur Online-Anwendung weitergeleitet und angemeldet.
+ + + + + + + diff --git a/id/server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlock.xml b/id/server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlock.xml new file mode 100644 index 000000000..915a6bf2f --- /dev/null +++ b/id/server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlock.xml @@ -0,0 +1,105 @@ +Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben:
++ Name: + | +
+ |
+
+ Geburtsdatum: + | +
+ |
+
+ Applikation: + | +
+ |
+
+ Geschäftsbereich: + | +
+ |
+
+ Anmeldeserver: + | +
+ |
+
+ Datum: + | +
+ |
+
+ Uhrzeit: + | +
+ |
+
+ wbPK (*): + | +
+ |
+
Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben:
++ Name: + | +
+ |
+
+ Geburtsdatum: + | +
+ |
+
+ Applikation: + | +
+ |
+
+ Geschäftsbereich: + | +
+ |
+
+ Anmeldeserver: + | +
+ |
+
+ Datum: + | +
+ |
+
+ Uhrzeit: + | +
+ |
+
+ wbPK (*): + | +
+ |
+
Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben:
++ Name: + | +
+ |
+
+ Geburtsdatum: + | +
+ |
+
+ Applikation: + | +
+ |
+
+ Geschäftsbereich: + | +
+ |
+
+ Anmeldeserver: + | +
+ |
+
+ Datum: + | +
+ |
+
+ Uhrzeit: + | +
+ |
+
+ wbPK (*): + | +
+ |
+
Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben:
++ Name: + | +
+ |
+
+ Geburtsdatum: + | +
+ |
+
+ Applikation: + | +
+ |
+
+ Geschäftsbereich: + | +
+ |
+
+ Anmeldeserver: + | +
+ |
+
+ Datum: + | +
+ |
+
+ Uhrzeit: + | +
+ |
+
+ wbPK (*): + | +
+ |
+
AuthenticationData
+ +AuthenticationException + +AuthenticationServer + +ConnectionBuilder + +LoginParameterResolver + +OAConfiguration + + |
+
+
+
|
++ + | +|||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES | +|||||||
+ SUMMARY: INNER | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
+at.gv.egovernment.moa.id.AuthenticationException ++
+Exception thrown during handling of AuthenticationSession +
+
+Constructor Summary | +|
AuthenticationException(String messageId,
+ Object[] parameters)
+
++ Constructor for AuthenticationException. |
+
+Constructor Detail | +
+public AuthenticationException(String messageId, + Object[] parameters)+
messageId
-
+
+
|
++ + | +|||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES | +|||||||
+ SUMMARY: INNER | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
+
+
|
++ + | +|||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES | +|||||||
+ SUMMARY: INNER | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
+java.lang.Object + | + +--at.gv.egovernment.moa.id.auth.AuthenticationServer ++
+API for MOA ID Authentication Service.
+ AuthenticationSession
is stored in a session store and retrieved
+ by giving the session ID.
+
+
+Field Summary | +
+Constructor Summary | +|
AuthenticationServer()
+
++ Constructor for AuthenticationServer. |
+
+Method Summary | +|
+ AuthenticationData |
+getAuthenticationData(String samlArtifact)
+
++ Retrieves AuthenticationData indexed by the SAML artifact.
+ |
+
+static AuthenticationServer |
+getInstance()
+
++ Returns the single instance of AuthenticationServer . |
+
Methods inherited from class java.lang.Object | +
clone,
+equals,
+finalize,
+getClass,
+hashCode,
+notify,
+notifyAll,
+toString,
+wait,
+wait,
+wait |
+
+Field Detail | +
+Constructor Detail | +
+public AuthenticationServer()+
+Method Detail | +
+public static AuthenticationServer getInstance()+
AuthenticationServer
.AuthenticationServer
+public AuthenticationData getAuthenticationData(String samlArtifact) + throws AuthenticationException+
AuthenticationData
indexed by the SAML artifact.
+ The AuthenticationData
is deleted from the store upon end of this call.AuthenticationData
+
+
|
++ + | +|||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES | +|||||||
+ SUMMARY: INNER | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+Uses of AuthenticationServer in at.gv.egovernment.moa.id.auth | +
+ +
Methods in at.gv.egovernment.moa.id.auth that return AuthenticationServer | +|
+static AuthenticationServer |
+AuthenticationServer.getInstance()
+
++ Returns the single instance of AuthenticationServer . |
+
+
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+Uses of AuthenticationException in at.gv.egovernment.moa.id.auth | +
+ +
Methods in at.gv.egovernment.moa.id.auth that throw AuthenticationException | +|
+ String |
+AuthenticationServer.selectBKU(String authURL,
+ String target,
+ String oaURL,
+ String bkuSelectionTemplateURL,
+ String templateURL)
+
++ Processes request to select a BKU. + |
+
+ String |
+AuthenticationServer.startAuthentication(String authURL,
+ String target,
+ String oaURL,
+ String templateURL,
+ String bkuURL,
+ String sessionID)
+
++ Processes the beginning of an authentication session. + |
+
+ String |
+AuthenticationServer.verifyIdentityLink(String sessionID,
+ String xmlInfoboxReadResponse)
+
++ Processes an <InfoboxReadResponse> sent by the
+ security layer implementation.+ + Validates given <InfoboxReadResponse>
+ Parses identity link enclosed in <InfoboxReadResponse>
+ Verifies identity link by calling the MOA SP component
+ Checks certificate authority of identity link
+ Stores identity link in the session
+ Creates an authentication block to be signed by the user
+ Creates and returns a <CreateXMLSignatureRequest>
+ containg the authentication block, meant to be returned to the
+ security layer implementation
+ |
+
+ String |
+AuthenticationServer.verifyAuthenticationBlock(String sessionID,
+ String xmlCreateXMLSignatureReadResponse)
+
++ Processes a <CreateXMLSignatureResponse> sent by the
+ security layer implementation.+ + Validates given <CreateXMLSignatureResponse>
+ Parses <CreateXMLSignatureResponse> for error codes
+ Parses authentication block enclosed in
+ <CreateXMLSignatureResponse>
+ Verifies authentication block by calling the MOA SP component
+ Creates authentication data
+ Creates a corresponding SAML artifact
+ Stores authentication data in the authentication data store
+ indexed by the SAML artifact
+ Deletes authentication session
+ Returns the SAML artifact, encoded BASE64
+ |
+
+ AuthenticationData |
+AuthenticationServer.getAuthenticationData(String samlArtifact)
+
++ Retrieves AuthenticationData indexed by the SAML artifact.
+ |
+
+static at.gv.egovernment.moa.id.auth.data.AuthenticationSession |
+AuthenticationServer.getSession(String id)
+
++ Retrieves a session from the session store. |
+
+
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+
+
|
++ + | +|||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES | +|||||||
+ SUMMARY: INNER | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
+java.lang.Object + | + +--at.gv.egovernment.moa.id.config.proxy.OAConfiguration ++
+Holds configuration data concerning an online application for use by the MOA-ID Proxy component. + These include the login type (stateful or stateless), the HTTP authentication type, + and information needed to add authentication parameters or headers for a URL connection + to the remote online application. +
+
MOAIDConfiguration-1.1.xsd
, element Configuration
+Field Summary | +|
+static String |
+BASIC_AUTH
+
++ |
+
+static String |
+HEADER_AUTH
+
++ |
+
+static String |
+LOGINTYPE_STATEFUL
+
++ |
+
+static String |
+LOGINTYPE_STATELESS
+
++ |
+
+static String |
+PARAM_AUTH
+
++ |
+
+Constructor Summary | +|
OAConfiguration()
+
++ |
+
+Method Summary | +|
+ String |
+getAuthType()
+
++ Returns the authType. |
+
+ String |
+getBasicAuthPasswordMapping()
+
++ Returns the basicAuthPasswordMapping. |
+
+ String |
+getBasicAuthUserIDMapping()
+
++ Returns the basicAuthUserIDMapping. |
+
+ Map |
+getHeaderAuthMapping()
+
++ Returns the headerAuthMapping. |
+
+ String |
+getLoginType()
+
++ Returns the loginType. |
+
+ Map |
+getParamAuthMapping()
+
++ Returns the paramAuthMapping. |
+
+ void |
+setAuthType(String authLoginType)
+
++ Sets the authType. |
+
+ void |
+setBasicAuthPasswordMapping(String basicAuthPassword)
+
++ Sets the basicAuthPasswordMapping. |
+
+ void |
+setBasicAuthUserIDMapping(String basicAuthUserID)
+
++ Sets the basicAuthUserIDMapping. |
+
+ void |
+setHeaderAuthMapping(HashMap headerAuth)
+
++ Sets the headerAuthMapping. |
+
+ void |
+setLoginType(String loginType)
+
++ Sets the loginType. |
+
+ void |
+setParamAuthMapping(HashMap paramAuth)
+
++ Sets the paramAuthMapping. |
+
Methods inherited from class java.lang.Object | +
clone,
+equals,
+finalize,
+getClass,
+hashCode,
+notify,
+notifyAll,
+toString,
+wait,
+wait,
+wait |
+
+Field Detail | +
+public static final String LOGINTYPE_STATEFUL+
+public static final String LOGINTYPE_STATELESS+
+public static final String BASIC_AUTH+
+public static final String HEADER_AUTH+
+public static final String PARAM_AUTH+
+Constructor Detail | +
+public OAConfiguration()+
+Method Detail | +
+public String getBasicAuthPasswordMapping()+
+public String getBasicAuthUserIDMapping()+
+public Map getHeaderAuthMapping()+
+public String getLoginType()+
+public Map getParamAuthMapping()+
+public void setBasicAuthPasswordMapping(String basicAuthPassword)+
basicAuthPasswordMapping
- The basicAuthPasswordMapping to set+public void setBasicAuthUserIDMapping(String basicAuthUserID)+
basicAuthUserIDMapping
- The basicAuthUserIDMapping to set+public void setHeaderAuthMapping(HashMap headerAuth)+
headerAuthMapping
- The headerAuthMapping to set+public void setLoginType(String loginType)+
loginType
- The loginType to set+public void setParamAuthMapping(HashMap paramAuth)+
paramAuthMapping
- The paramAuthMapping to set+public String getAuthType()+
+public void setAuthType(String authLoginType)+
authType
- The authType to set
+
+
|
++ + | +|||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES | +|||||||
+ SUMMARY: INNER | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+Uses of OAConfiguration in at.gv.egovernment.moa.id.proxy | +
+ +
Methods in at.gv.egovernment.moa.id.proxy with parameters of type OAConfiguration | +|
+ Map |
+LoginParameterResolver.getAuthenticationHeaders(OAConfiguration oaConf,
+ AuthenticationData authData,
+ String clientIPAddress)
+
++ Returns authentication headers to be added to a URLConnection. |
+
+ Map |
+LoginParameterResolver.getAuthenticationParameters(OAConfiguration oaConf,
+ AuthenticationData authData,
+ String clientIPAddress)
+
++ Returns request parameters to be added to a URLConnection. |
+
+
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+
+
|
++ + | +|||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES | +|||||||
+ SUMMARY: INNER | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
+java.lang.Object + | + +--at.gv.egovernment.moa.id.data.AuthenticationData ++
+Encapsulates authentication data contained in a <saml:Assertion>
.
+
+
+Constructor Summary | +|
AuthenticationData()
+
++ Constructor for AuthenticationData. |
+
+Method Summary | +|
+ String |
+getAssertionID()
+
++ Returns the assertionID. |
+
+ String |
+getDateOfBirth()
+
++ Returns the dateOfBirth. |
+
+ String |
+getFamilyName()
+
++ Returns the familyName. |
+
+ String |
+getGivenName()
+
++ Returns the givenName. |
+
+ String |
+getIdentificationValue()
+
++ Returns the identificationValue. |
+
+ String |
+getIssueInstant()
+
++ Returns the issueInstant. |
+
+ String |
+getIssuer()
+
++ Returns the issuer. |
+
+ int |
+getMajorVersion()
+
++ Returns the majorVersion. |
+
+ int |
+getMinorVersion()
+
++ Returns the minorVersion. |
+
+ String |
+getPublicAuthorityCode()
+
++ Returns the publicAuthorityCode. |
+
+ String |
+getSamlAssertion()
+
++ Returns the samlAssertion. |
+
+ Date |
+getTimestamp()
+
++ Returns the timestamp. |
+
+ String |
+getVPK()
+
++ Returns the vpk. |
+
+ boolean |
+isPublicAuthority()
+
++ Returns the publicAuthority. |
+
+ boolean |
+isQualifiedCertificate()
+
++ Returns the qualifiedCertificate. |
+
+ void |
+setAssertionID(String assertionID)
+
++ Sets the assertionID. |
+
+ void |
+setDateOfBirth(String dateOfBirth)
+
++ Sets the dateOfBirth. |
+
+ void |
+setFamilyName(String gamilyName)
+
++ Sets the familyName. |
+
+ void |
+setGivenName(String givenName)
+
++ Sets the givenName. |
+
+ void |
+setIdentificationValue(String identificationValue)
+
++ Sets the identificationValue. |
+
+ void |
+setIssueInstant(String issueInstant)
+
++ Sets the issueInstant. |
+
+ void |
+setIssuer(String issuer)
+
++ Sets the issuer. |
+
+ void |
+setMajorVersion(int majorVersion)
+
++ Sets the majorVersion. |
+
+ void |
+setMinorVersion(int minorVersion)
+
++ Sets the minorVersion. |
+
+ void |
+setPublicAuthority(boolean publicAuthority)
+
++ Sets the publicAuthority. |
+
+ void |
+setPublicAuthorityCode(String publicAuthorityIdentification)
+
++ Sets the publicAuthorityCode. |
+
+ void |
+setQualifiedCertificate(boolean qualifiedCertificate)
+
++ Sets the qualifiedCertificate. |
+
+ void |
+setSamlAssertion(String samlAssertion)
+
++ Sets the samlAssertion. |
+
+ void |
+setVPK(String vpk)
+
++ Sets the vpk. |
+
Methods inherited from class java.lang.Object | +
clone,
+equals,
+finalize,
+getClass,
+hashCode,
+notify,
+notifyAll,
+toString,
+wait,
+wait,
+wait |
+
+Constructor Detail | +
+public AuthenticationData()+
+Method Detail | +
+public int getMinorVersion()+
+public boolean isPublicAuthority()+
+public String getPublicAuthorityCode()+
+public boolean isQualifiedCertificate()+
+public String getVPK()+
+public void setMinorVersion(int minorVersion)+
minorVersion
- The minorVersion to set+public void setPublicAuthority(boolean publicAuthority)+
publicAuthority
- The publicAuthority to set+public void setPublicAuthorityCode(String publicAuthorityIdentification)+
publicAuthorityCode
- The publicAuthorityCode to set+public void setQualifiedCertificate(boolean qualifiedCertificate)+
qualifiedCertificate
- The qualifiedCertificate to set+public void setVPK(String vpk)+
vpk
- The vpk to set+public String getAssertionID()+
+public String getDateOfBirth()+
+public String getFamilyName()+
+public String getGivenName()+
+public String getIdentificationValue()+
+public String getIssueInstant()+
+public String getIssuer()+
+public int getMajorVersion()+
+public void setAssertionID(String assertionID)+
assertionID
- The assertionID to set+public void setDateOfBirth(String dateOfBirth)+
dateOfBirth
- The dateOfBirth to set+public void setFamilyName(String gamilyName)+
familyName
- The familyName to set+public void setGivenName(String givenName)+
givenName
- The givenName to set+public void setIdentificationValue(String identificationValue)+
identificationValue
- The identificationValue to set+public void setIssueInstant(String issueInstant)+
issueInstant
- The issueInstant to set+public void setIssuer(String issuer)+
issuer
- The issuer to set+public void setMajorVersion(int majorVersion)+
majorVersion
- The majorVersion to set+public String getSamlAssertion()+
+public void setSamlAssertion(String samlAssertion)+
samlAssertion
- The samlAssertion to set+public Date getTimestamp()+
+
+
|
++ + | +|||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES | +|||||||
+ SUMMARY: INNER | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+Uses of AuthenticationData in at.gv.egovernment.moa.id.auth | +
+ +
Methods in at.gv.egovernment.moa.id.auth that return AuthenticationData | +|
+ AuthenticationData |
+AuthenticationServer.getAuthenticationData(String samlArtifact)
+
++ Retrieves AuthenticationData indexed by the SAML artifact.
+ |
+
+Uses of AuthenticationData in at.gv.egovernment.moa.id.proxy | +
+ +
Methods in at.gv.egovernment.moa.id.proxy with parameters of type AuthenticationData | +|
+ Map |
+LoginParameterResolver.getAuthenticationHeaders(OAConfiguration oaConf,
+ AuthenticationData authData,
+ String clientIPAddress)
+
++ Returns authentication headers to be added to a URLConnection. |
+
+ Map |
+LoginParameterResolver.getAuthenticationParameters(OAConfiguration oaConf,
+ AuthenticationData authData,
+ String clientIPAddress)
+
++ Returns request parameters to be added to a URLConnection. |
+
+
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+
+
|
++ + | +|||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES | +|||||||
+ SUMMARY: INNER | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
+Builder for URLConnection
objects used to forward requests
+ to the remote online application.
+
+
+Method Summary | +|
+ HttpURLConnection |
+buildConnection(javax.servlet.http.HttpServletRequest request,
+ String publicURLPrefix,
+ String realURLPrefix,
+ javax.net.ssl.SSLSocketFactory sslSocketFactory)
+
++ Builds an HttpURLConnection to a URL which is derived
+ from an HttpServletRequest URL, by substitution of a
+ public URL prefix for the real URL prefix.+ The HttpURLConnection has been created by URL.openConnection() , but
+ it has not yet been connected to by URLConnection.connect() .+ The field settings of the HttpURLConnection are: + + allowUserInteraction = false
+ doInput = true
+ doOutput = true
+ requestMethod = request.getMethod()
+ useCaches = false
+ |
+
+Method Detail | +
+public HttpURLConnection buildConnection(javax.servlet.http.HttpServletRequest request, + String publicURLPrefix, + String realURLPrefix, + javax.net.ssl.SSLSocketFactory sslSocketFactory) + throws IOException+
URL
which is derived
+ from an HttpServletRequest
URL, by substitution of a
+ public URL prefix for the real URL prefix.URL.openConnection()
, but
+ it has not yet been connected to by URLConnection.connect()
.allowUserInteraction = false
doInput = true
doOutput = true
requestMethod = request.getMethod()
useCaches = false
request
- the incoming request which shall be forwardedpublicURLPrefix
- the public URL prefix to be substituted by the real URL prefixrealURLPrefix
- the URL prefix to substitute the public URL prefixsslSocketFactory
- factory to be used for creating an SSL socket in case
+ of a URL for scheme "https:"
;
+ null
, the default SSL socket factory would be usedURL.openConnection()
, connecting to
+ the requested URL with publicURLPrefix
substituted by realURLPrefix
URL.openConnection()
,
+com.sun.net.ssl.HttpsURLConnection#getDefaultSSLSocketFactory()
+
+
|
++ + | +|||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES | +|||||||
+ SUMMARY: INNER | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
+
+
|
++ + | +|||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES | +|||||||
+ SUMMARY: INNER | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
+Determines authentication parameters and headers to be added to a URLConnection
+ to the remote online application.
+ Utilizes OAConfiguration
and AuthenticationData
.
+
+
+Field Summary | +|
+static String |
+MOABKZ
+
++ |
+
+static String |
+MOADateOfBirth
+
++ |
+
+static String |
+MOAFamilyName
+
++ |
+
+static String |
+MOAGivenName
+
++ Constants used in MOAIDConfiguration-1.1.xsd , type MOAAuthDataType ,
+ naming predicates used by the LoginParameterResolver . |
+
+static String |
+MOAIPAddress
+
++ |
+
+static String |
+MOAPublicAuthority
+
++ |
+
+static String |
+MOAQualifiedCertificate
+
++ |
+
+static String |
+MOAVPK
+
++ |
+
+static String |
+MOAZMRZahl
+
++ |
+
+Method Summary | +|
+ Map |
+getAuthenticationHeaders(OAConfiguration oaConf,
+ AuthenticationData authData,
+ String clientIPAddress)
+
++ Returns authentication headers to be added to a URLConnection. |
+
+ Map |
+getAuthenticationParameters(OAConfiguration oaConf,
+ AuthenticationData authData,
+ String clientIPAddress)
+
++ Returns request parameters to be added to a URLConnection. |
+
+Field Detail | +
+public static final String MOAGivenName+
MOAIDConfiguration-1.1.xsd
, type MOAAuthDataType
,
+ naming predicates used by the LoginParameterResolver
.+public static final String MOAFamilyName+
+public static final String MOADateOfBirth+
+public static final String MOAVPK+
+public static final String MOAPublicAuthority+
+public static final String MOABKZ+
+public static final String MOAQualifiedCertificate+
+public static final String MOAZMRZahl+
+public static final String MOAIPAddress+
+Method Detail | +
+public Map getAuthenticationHeaders(OAConfiguration oaConf, + AuthenticationData authData, + String clientIPAddress)+
authConf
- configuration dataauthData
- authentication dataclientIPAddress
- client IP address"basic-auth"
, header fields
+ username
and password
.
+ "header-auth"
, header fields
+ derived from parameter mapping and authentication data provided.
+ +public Map getAuthenticationParameters(OAConfiguration oaConf, + AuthenticationData authData, + String clientIPAddress)+
authConf
- configuration dataauthData
- authentication dataclientIPAddress
- client IP address"param-auth"
, parameters
+ derived from parameter mapping and authentication data provided.
+
+
+
|
++ + | +|||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES | +|||||||
+ SUMMARY: INNER | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+ +++Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:
+
+- Interfaces (italic)
- Classes
- Exceptions
- Errors
+ +++Each class, interface, inner class and inner interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.- Class inheritance diagram
- Direct Subclasses
- All Known Subinterfaces
- All Known Implementing Classes
- Class/interface declaration
- Class/interface description +
+
- Inner Class Summary
- Field Summary
- Constructor Summary
- Method Summary +
+
- Field Detail
- Constructor Detail
- Method Detail
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with+java.lang.Object
. The interfaces do not inherit fromjava.lang.Object
.+
+- When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
- When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.+
+
+
+
+This help file applies to API documentation generated using the standard doclet.
+
+
+
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
<saml:Assertion>
.AuthenticationSession
is stored in a session store and retrieved
+ by giving the session ID.URL
which is derived
+ from an HttpServletRequest
URL, by substitution of a
+ public URL prefix for the real URL prefix.URL.openConnection()
, but
+ it has not yet been connected to by URLConnection.connect()
.allowUserInteraction = false
+ doInput = true
+ doOutput = true
+ requestMethod = request.getMethod()
+ useCaches = false
+
+URLConnection
objects used to forward requests
+ to the remote online application.AuthenticationData
indexed by the SAML artifact.
+
+AuthenticationServer
.
+URLConnection
+ to the remote online application.
+ MOAIDConfiguration-1.1.xsd
, type MOAAuthDataType
,
+ naming predicates used by the LoginParameterResolver
.
+at.gv.egovernment.moa.id.auth.servlet.StartAuthenticationServlet
is mapped to
+at.gv.egovernment.moa.id.auth.servlet.VerifyAuthenticationBlockServlet
is mapped to
+at.gv.egovernment.moa.id.auth.servlet.VerifyIdentityLinkServlet
is mapped to
+<CreateXMLSignatureResponse>
sent by the
+ security layer implementation.<CreateXMLSignatureResponse>
+ Parses <CreateXMLSignatureResponse>
for error codes
+ Parses authentication block enclosed in
+ <CreateXMLSignatureResponse>
+ Verifies authentication block by calling the MOA SP component
+ Creates authentication data
+ Creates a corresponding SAML artifact
+ Stores authentication data in the authentication data store
+ indexed by the SAML artifact
+ Deletes authentication session
+ Returns the SAML artifact, encoded BASE64
+
+<InfoboxReadResponse>
sent by the
+ security layer implementation.<InfoboxReadResponse>
+ Parses identity link enclosed in <InfoboxReadResponse>
+ Verifies identity link by calling the MOA SP component
+ Checks certificate authority of identity link
+ Stores identity link in the session
+ Creates an authentication block to be signed by the user
+ Creates and returns a <CreateXMLSignatureRequest>
+ containg the authentication block, meant to be returned to the
+ security layer implementation
+
+
+
+
|
++ + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES | +
+This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
+
+Link to Non-frame version.